sim_cp0 {eoa3}R Documentation

generate random cp parameters or persistence times

Description

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.

Usage

sim_cp0(cpmodel, nsim, option = "parms")

Arguments

cpmodel

Fitted cp model ((survreg object))

nsim

Number of simulation draws

option

option = "parms" returns random draws of parameters from the fitted model; option != "parms" returns random draws of carcass persistence times

Value

answer


[Package eoa3 version 1.0.0.1 Index]