Learn R Programming

mixtools (version 2.0.0)

plotspRMM: Plot output from Stochastic EM algorithm for semiparametric scaled mixture of censored data

Description

Function for plotting various results from an object returned by spRMM_SEM, a Stochastic EM algorithm for semiparametric scaled mixture of randomly right censored lifetime data. Four plots of sequences of estimates along iterations, survival and density estimates (see reference below).

Usage

plotspRMM(sem, tmax = NULL)

Value

The four plots returned

Arguments

sem

An object returned by spRMM_SEM.

tmax

The max time for \(x\) axis, set to some default value if NULL.

Author

Didier Chauveau

References

See Also

Related functions: spRMM_SEM.

Other models and algorithms for censored lifetime data (name convention is model_algorithm): expRMM_EM, weibullRMM_SEM.

Examples

Run this code
# See example(spRMM_SEM)

Run the code above in your browser using DataLab