R/dprior-pomp.R

## evaluate the prior probability density

dprior.internal <- function (object, params, log = FALSE,
                             .getnativesymbolinfo = TRUE, ...) {
  pompLoad(object)
  rv <- .Call(do_dprior,object,params,log,.getnativesymbolinfo)
  pompUnload(object)
  rv
}

setMethod("dprior",
          signature=signature("pomp"),
          function (object, params, log = FALSE, ...)
          dprior.internal(object=object,params=params,log=log,...)
          )

Try the pomp package in your browser

Any scripts or data that you put into this service are public.

pomp documentation built on May 2, 2019, 4:09 p.m.