From 575fcacaa33076de97f41a79afb37efb97ca82e0 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 30 Mar 2020 21:43:10 +0200 Subject: Static documentation rebuilt by pkgdown --- docs/reference/mkinpredict.html | 78 +++++++++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 27 deletions(-) (limited to 'docs/reference/mkinpredict.html') diff --git a/docs/reference/mkinpredict.html b/docs/reference/mkinpredict.html index 0eca973c..fe5bc975 100644 --- a/docs/reference/mkinpredict.html +++ b/docs/reference/mkinpredict.html @@ -71,7 +71,7 @@ kinetic parameters and initial values for the state variables." /> mkin - 0.9.49.6 + 0.9.49.9 @@ -140,24 +140,49 @@ kinetic model as specified by mkinmod, u kinetic parameters and initial values for the state variables.

-
mkinpredict(x, odeparms, odeini, outtimes = seq(0, 120, by = 0.1),
-  solution_type = "deSolve", use_compiled = "auto",
-  method.ode = "lsoda", atol = 1e-08, rtol = 1e-10,
-  map_output = TRUE, ...)
+    
mkinpredict(
+  x,
+  odeparms,
+  odeini,
+  outtimes = seq(0, 120, by = 0.1),
+  solution_type = "deSolve",
+  use_compiled = "auto",
+  method.ode = "lsoda",
+  atol = 1e-08,
+  rtol = 1e-10,
+  map_output = TRUE,
+  ...
+)
 
 # S3 method for mkinmod
-mkinpredict(x, odeparms = c(k_parent_sink = 0.1),
-  odeini = c(parent = 100), outtimes = seq(0, 120, by = 0.1),
-  solution_type = "deSolve", use_compiled = "auto",
-  method.ode = "lsoda", atol = 1e-08, rtol = 1e-10,
-  map_output = TRUE, ...)
+mkinpredict(
+  x,
+  odeparms = c(k_parent_sink = 0.1),
+  odeini = c(parent = 100),
+  outtimes = seq(0, 120, by = 0.1),
+  solution_type = "deSolve",
+  use_compiled = "auto",
+  method.ode = "lsoda",
+  atol = 1e-08,
+  rtol = 1e-10,
+  map_output = TRUE,
+  ...
+)
 
 # S3 method for mkinfit
-mkinpredict(x, odeparms = x$bparms.ode,
-  odeini = x$bparms.state, outtimes = seq(0, 120, by = 0.1),
-  solution_type = "deSolve", use_compiled = "auto",
-  method.ode = "lsoda", atol = 1e-08, rtol = 1e-10,
-  map_output = TRUE, ...)
+mkinpredict( + x, + odeparms = x$bparms.ode, + odeini = x$bparms.state, + outtimes = seq(0, 120, by = 0.1), + solution_type = "deSolve", + use_compiled = "auto", + method.ode = "lsoda", + atol = 1e-08, + rtol = 1e-10, + map_output = TRUE, + ... +)

Arguments

@@ -350,7 +375,7 @@ solver is used.

c(parent=100, m1=0), seq(0, 20, by=0.1), solution_type="eigen")[201,]))
#> time parent m1 #> 201 20 4.978707 27.46227
#> User System verstrichen -#> 0.004 0.000 0.003
system.time( +#> 0.003 0.000 0.003
system.time( print(mkinpredict(SFO_SFO, c(k_parent_m1 = 0.05, k_parent_sink = 0.1, k_m1_sink = 0.01), c(parent = 100, m1 = 0), seq(0, 20, by = 0.1), solution_type = "deSolve")[201,]))
#> time parent m1 @@ -360,7 +385,7 @@ solver is used.

c(parent = 100, m1 = 0), seq(0, 20, by = 0.1), solution_type = "deSolve", use_compiled = FALSE)[201,]))
#> time parent m1 #> 201 20 4.978707 27.46227
#> User System verstrichen -#> 0.021 0.000 0.022
+#> 0.021 0.000 0.021
# \dontrun{ # Predict from a fitted model f <- mkinfit(SFO_SFO, FOCUS_2006_C)
#> Ordinary least squares optimisation
#> Sum of squared residuals at call 1: 552.5739 @@ -372,10 +397,10 @@ solver is used.

#> Sum of squared residuals at call 9: 279.9294 #> Sum of squared residuals at call 12: 200.3629 #> Sum of squared residuals at call 13: 200.3629 -#> Sum of squared residuals at call 18: 197.9039 -#> Sum of squared residuals at call 23: 197.9039 -#> Sum of squared residuals at call 25: 196.6754 -#> Sum of squared residuals at call 27: 196.6754 +#> Sum of squared residuals at call 18: 197.904 +#> Sum of squared residuals at call 22: 197.904 +#> Sum of squared residuals at call 25: 196.6753 +#> Sum of squared residuals at call 27: 196.6753 #> Sum of squared residuals at call 32: 196.5742 #> Sum of squared residuals at call 33: 196.5742 #> Sum of squared residuals at call 34: 196.5742 @@ -390,14 +415,13 @@ solver is used.

#> Sum of squared residuals at call 58: 196.5334 #> Sum of squared residuals at call 59: 196.5334 #> Sum of squared residuals at call 65: 196.5334 -#> Sum of squared residuals at call 73: 196.5334 #> Negative log-likelihood at call 75: 26.64668
#> Optimisation successfully terminated.
head(mkinpredict(f))
#> time parent m1 #> 1 0.0 82.49216 0.000000 -#> 2 0.1 80.00563 1.179955 -#> 3 0.2 77.59404 2.312580 -#> 4 0.3 75.25515 3.399419 -#> 5 0.4 72.98675 4.441969 -#> 6 0.5 70.78673 5.441679
# } +#> 2 0.1 80.00563 1.179963 +#> 3 0.2 77.59404 2.312596 +#> 4 0.3 75.25515 3.399443 +#> 5 0.4 72.98675 4.442000 +#> 6 0.5 70.78673 5.441717
# }
-- cgit v1.2.1