diff options
author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-12-19 10:59:44 +0100 |
---|---|---|
committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-12-19 10:59:44 +0100 |
commit | e5aea600fd957955fc3e8e41dbc93bf4f65af803 (patch) | |
tree | fe72d2b020b50307944f616333df7419e07393e1 /man | |
parent | 7b14afbeaa779009014ee866fe5e56edd3e8681d (diff) |
Support observed data as tibble
Closes #14
Diffstat (limited to 'man')
-rw-r--r-- | man/mkinfit.Rd | 3 | ||||
-rw-r--r-- | man/mkinpredict.Rd | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/man/mkinfit.Rd b/man/mkinfit.Rd index f96b4d22..edec9546 100644 --- a/man/mkinfit.Rd +++ b/man/mkinfit.Rd @@ -39,7 +39,8 @@ model to be fitted to the data, or one of the shorthand names ("SFO", parent only degradation model is generated for the variable with the highest value in \code{observed}.} -\item{observed}{A dataframe with the observed data. The first column called +\item{observed}{A dataframe or an object coercible to a dataframe +(e.g. a \code{tibble}) with the observed data. The first column called "name" must contain the name of the observed variable for each data point. The second column must contain the times of observation, named "time". The third column must be named "value" and contain the observed values. diff --git a/man/mkinpredict.Rd b/man/mkinpredict.Rd index 792d0e47..4db4d62f 100644 --- a/man/mkinpredict.Rd +++ b/man/mkinpredict.Rd @@ -71,7 +71,7 @@ parent compound.} \item{use_symbols}{If set to \code{TRUE} (default), symbol info present in the \link{mkinmod} object is used if available for accessing compiled code} -\item{method.ode}{The solution method passed via \link{mkinpredict} to \link{ode}] in +\item{method.ode}{The solution method passed via \link{mkinpredict} to \link[deSolve:ode]{deSolve::ode}] in case the solution type is "deSolve" and we are not using compiled code. When using compiled code, only lsoda is supported.} @@ -86,7 +86,7 @@ the observed variables (default) or for all state variables (if set to FALSE). Setting this to FALSE has no effect for analytical solutions, as these always return mapped output.} -\item{na_stop}{Should it be an error if \link{ode} returns NaN values} +\item{na_stop}{Should it be an error if \link[deSolve:ode]{deSolve::ode} returns NaN values} } \value{ A matrix with the numeric solution in wide format |