rpk: Simulate parameters from a fitted pk model

rpkR Documentation

Simulate parameters from a fitted pk model

Description

Simulate parameters from a pkm model object

Usage

rpk(n, model)

Arguments

n

the number of simulation draws

model

A pkm object (which is returned from pkm())

Value

list of pairs of matrices of n simulated p and k for cells defined by the model object.

See Also

rpk, pkm

Examples

  data(wind_RP)
  mod <- pkm(formula_p = p ~ 1, formula_k = k ~ Season, data = wind_RP$SE)
  rpk(n = 10, model = mod)


GenEst documentation built on June 7, 2023, 6:35 p.m.