rprior function

rprior workhorse

rprior workhorse

Sample from the prior probability distribution. methods

## S4 method for signature 'pomp' rprior(object, ..., params = coef(object))

Arguments

  • object: an object of class pomp , or of a class that extends pomp . This will typically be the output of pomp, simulate, or one of the pomp inference algorithms.
  • ...: additional arguments are ignored.
  • params: a npar x nrep matrix of parameters. Each column is treated as an independent parameter set, in correspondence with the corresponding column of x.

Returns

A numeric matrix containing the required samples.

See Also

Specification of the prior distribution simulator: prior_spec

More on pomp workhorse functions: dinit(), dmeasure(), dprior(), dprocess(), emeasure(), flow(), partrans(), pomp-package, rinit(), rmeasure(), rprocess(), skeleton(), vmeasure(), workhorses

More on Bayesian methods: abc(), bsmc2(), dprior(), pmcmc(), prior_spec

  • Maintainer: Aaron A. King
  • License: GPL-3
  • Last published: 2025-04-16