GenEst (version 1.4.5)

rpk: 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

Run this code
# NOT RUN {
  data(wind_RP)
  mod <- pkm(formula_p = p ~ 1, formula_k = k ~ Season, data = wind_RP$SE)
  rpk(n = 10, model = mod)

# }

Run the code above in your browser using DataLab