plotnae: Nelson-Aalen Estimators for Simulated Event History Data

View source: R/plotnae.R

plotnaeR Documentation

Nelson-Aalen Estimators for Simulated Event History Data

Description

Calculates the Nelson-Aalen estimators for the cumulative hazard rate functions for simulated event history data

Usage

plotnae(d, mpl, return.nae = FALSE, ...)

Arguments

d

simulated data-set list as the return object from the simeventhistories function.

mpl

model parameter list as provided to simeventhistories.

return.nae

should a list containing the values of the calculated Nelson-Aalen estimator be returned?

...

further arguments and graphical parameters passed to plot.mvna, e.g. xlim for a re-specification of the shown time axis, or conf.int for the plotting of pointwise confidence intervals.

Details

The function is a specific (w.r.t. to the structure of the result from simeventhistories) wrapper function to the function mvna from the same-named R package mvna.

Value

Plot of the Nelson-Aalen estimator and the underyling mvna result if return.nae is set to TRUE.

Author(s)

Holger Reulen

References

Allignol, A., Beyersmann, J., Schumacher, M. (2008) mvna: An R Package for the Nelson-Aalen Estimator in Multistate Models, R News, 8 (2): 48 – 50

See Also

mplskeleton, simeventhistories

Examples

## Not run: plotnae(d, mpl, return.nae = FALSE, ...)

simMSM documentation built on May 6, 2022, 9:05 a.m.

Related to plotnae in simMSM...