Plotting function for 2-process 4-parameter vitality model

Description

This function plots the estimated results from the 4 parameter vitality model. It is used within the function vitality.4p.

Usage

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)

Arguments

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?

Details

See vitality.4p for further description of function arguments.

Only one of Iplot or Mplot should be set to TRUE at once.

See Also

vitality.4p, mu.vd.4p, mu.vd1.4p, mu.vd2.4p

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.