View source: R/logLikelihood.r
| dTrajObs | R Documentation |
Compute the trajectory (log-)likelihood of theta for a
deterministic model defined in a fitmodel object by
summing the point log-likelihoods.
dTrajObs(fitmodel, theta, initState, data, log = TRUE)
fitmodel |
a |
theta |
named numeric vector. Values of the parameters. Names should
match |
initState |
named numeric vector. Initial values of the state
variables. Names should match |
data |
data frame. Observation times and observed data. The time column
must be named |
log |
logical (default: FALSE); whether the logarithm of the likelihood should be returned |
numeric value of the log-likelihood
rTrajObs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.