From 37cb2b4b793fa699d033632158e3604c37678c20 Mon Sep 17 00:00:00 2001
From: Johannes Ranke A numeric vector specifying the time points for which model
predictions should be generated. Further arguments passed to the ode solver in case such a
+solver is used. Further arguments passed to the ode solver in case such a
-solver is used. Should it be an error if deSolve::ode returns NaN values A matrix with the numeric solution in wide format Johannes Ranke
Produce predictions from a kinetic model using specific parameters
- Source: R/mkinpredict.R
+ Source: R/mkinpredict.R
mkinpredict.Rd
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, ...)
# 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,
+ na_stop = 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
@@ -220,6 +209,11 @@ observed variables, for example in the case of the SFORB model.
outtimes
+
+
+
...
+
solution_type
@@ -258,22 +252,25 @@ FALSE). Setting this to FALSE has no effect for analytical solutions,
as these always return mapped output.
-
...
-
+ na_stop
+ Value
Author
+
+ Examples
@@ -432,7 +441,7 @@ solver is used.