rpk {GenEst}R 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)


[Package GenEst version 1.4.9 Index]