View source: R/logLikelihood.r
dLogPosteriorWrapper | R Documentation |
dLogPosterior
A wrapper for dLogPosterior
that returns a function that can be
used as a target
for mcmcMh
dLogPosteriorWrapper(fitmodel, initState, data, margLogLike, ...)
fitmodel |
a |
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 |
margLogLike |
R-function to compute the marginal log-likelihood of
|
... |
further arguments to be passed to |
a R-function with one argument called theta
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.