plotnae {simMSM} | R 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
|
mpl |
model parameter list as provided to |
return.nae |
should a list containing the values of the calculated Nelson-Aalen estimator be returned? |
... |
further arguments and graphical parameters passed to
|
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, ...)