This function plots the estimated results from the 4 parameter vitality model. It is used within the function vitality.4p
.
plotting.4p(r.final, s.final, lambda.final, beta.final,
mlv, time, sfract, x1, x2, Ni, pplot, Iplot, Mplot,
tlab, rc.data)
r estimate
s estimate
lambda estimate
beta estimate
TODO mlv
time vector
survival fraction
Time 1
Time 2
Initial population
Boolean. Plot cumulative survival fraction?
Boolean. Plot incremental survival?
Boolean. Plot mortality rate? Note: plotted mortality data is derived from survival data and is approximate
Character, label for time axis
Boolean, right-censored data?
See vitality.4p
for further description of function arguments.
Only one of Iplot
or Mplot
should be set to TRUE
at once.