testFitmodel.Rd
This function performs a series of checks on the fitmodel
provided by the user in order to make sure that it will be compatible both
with the functions coded during the course and the functions available in the
fitR
package.
testFitmodel(fitmodel, theta, initState, data = NULL, verbose = TRUE)
a fitmodel
object
named numeric vector. Values of the parameters. Names should
match fitmodel$thetaNames
.
named numeric vector. Initial values of the state
variables. Names should match fitmodel$stateNames
.
data frame. Observation times and observed data. The time column
must be named "time"
and the observation column must be named
"obs"
.
if TRUE
, print details of the test performed to check
validity of the arguments