Given a fitted cp model (survreg
object), generate random
pda
and pdb
parameters or random persistence times.
NOTE: This function is likely to move to call GenEst's rcp
in future.
This will not change the results, but the GenEst version is more nicely
coded and keeping some coherence among the models is helpful.
sim_cp0(cpmodel, nsim, option = "parms")
answer
Fitted cp model ((survreg
object))
Number of simulation draws
option = "parms"
returns random draws of parameters from
the fitted model; option != "parms"
returns random draws of carcass
persistence times