R/rprior-pomp.R

## simulate from the prior

rprior.internal <- function (object, params, .getnativesymbolinfo = TRUE, ...) {
  pompLoad(object)
  rv <- .Call(do_rprior,object,params,.getnativesymbolinfo)
  pompUnload(object)
  rv
}

setMethod("rprior",
          signature=signature("pomp"),
          definition=function (object, params, ...)
          rprior.internal(object=object,params=params,...)
          )

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.