rvitality {failCompare} | R Documentation |
Generating samples from 2009 and 2013 Vitality models
rvitality( parms, times_dat, t_seq_fineness = 0.005, quant_seq = seq(0, 1, 0.005), model = "Vitality09" )
parms |
vector of parameters, Vitality 2009 (r,s,k,u), Vitality 2013 (r,s,lambda,beta) |
times_dat |
survival times used for determining # samples to generate and range of slices |
t_seq_fineness |
time increments to with which to slice up the survival curve |
quant_seq |
bins in which to place simulated times |
model |
either "Vitality09" ot "Vitality13" |
random values