Description Usage Arguments Details See Also
This function plots the estimated results from the 4 parameter vitality model. It is used within the function vitality.4p
.
1 2 3 | plotting.4p(r.final, s.final, lambda.final, beta.final,
mlv, time, sfract, x1, x2, Ni, pplot, Iplot, Mplot,
tlab, rc.data)
|
r.final |
r estimate |
s.final |
s estimate |
lambda.final |
lambda estimate |
beta.final |
beta estimate |
mlv |
TODO mlv |
time |
time vector |
sfract |
survival fraction |
x1 |
Time 1 |
x2 |
Time 2 |
Ni |
Initial population |
pplot |
Boolean. Plot cumulative survival fraction? |
Iplot |
Boolean. Plot incremental survival? |
Mplot |
Boolean. Plot mortality rate? Note: plotted mortality data is derived from survival data and is approximate |
tlab |
Character, label for time axis |
rc.data |
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.
vitality.4p
, mu.vd.4p
, mu.vd1.4p
, mu.vd2.4p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.