aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-05-08 11:36:46 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-05-08 11:36:46 +0200
commit2c313bdb12c5fcae8272600021fcedbc99425130 (patch)
tree873e660e78a02df22255143e2bc0913f077464a9 /R
parentf6f8ca5142020c2c5b0628bdcae1e2d00b80c6d5 (diff)
Slight performance gain by reducing default n.outtimes
Diffstat (limited to 'R')
-rw-r--r--R/mkinfit.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/mkinfit.R b/R/mkinfit.R
index 1ddb6f36..f5e7e493 100644
--- a/R/mkinfit.R
+++ b/R/mkinfit.R
@@ -104,7 +104,7 @@ if(getRversion() >= '2.15.1') utils::globalVariables(c("name", "time", "value"))
#' @param n.outtimes The length of the dataseries that is produced by the model
#' prediction function \code{\link{mkinpredict}}. This impacts the accuracy
#' of the numerical solver if that is used (see \code{solution_type}
-#' argument. The default value is 100.
+#' argument.
#' @param error_model If the error model is "const", a constant standard
#' deviation is assumed.
#'
@@ -248,7 +248,7 @@ mkinfit <- function(mkinmod, observed,
transform_rates = TRUE,
transform_fractions = TRUE,
quiet = FALSE,
- atol = 1e-8, rtol = 1e-10, n.outtimes = 100,
+ atol = 1e-8, rtol = 1e-10, n.outtimes = 10,
error_model = c("const", "obs", "tc"),
error_model_algorithm = c("auto", "d_3", "direct", "twostep", "threestep", "fourstep", "IRLS", "OLS"),
reweight.tol = 1e-8, reweight.max.iter = 10,

Contact - Imprint