Nelson-Aalen Estimators for Simulated Event History Data
Nelson-Aalen Estimators for Simulated Event History Data
Calculates the Nelson-Aalen estimators for the cumulative hazard rate functions for simulated event history data
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.
Returns
Plot of the Nelson-Aalen estimator and the underyling mvna
result if return.nae is set to TRUE.
Author(s)
Holger Reulen
See Also
mplskeleton, simeventhistories
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
Examples
## Not run: plotnae(d, mpl, return.nae = FALSE, ...)