Description Usage Arguments Details See Also
This function plots the estimated results from the 6 parameter vitality model. It is used within the function vitality.6p.
1 2 3 | plotting.6p(r.final, s.final, lambda.final, beta.final,
gamma.final, alpha.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 |
gamma.final |
gamma estimate |
alpha.final |
alpha estimate |
mlv |
TODO mlv |
time |
time vector giving the ages at which calculate the estimated value |
sfract |
observed 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.6p for further description of function arguments.
Only one of Iplot or Mplot should be set to TRUE at once.
vitality.6p, mu.vd.6p, mu.vd1.6p, mu.vd2.6p, mu.vd3.6p, mu.vd4.6p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.