This function produces either a survival or hazard plot.
hazsurv.plot(x, eq, newdata, type = "surv", intervals = TRUE,
n.sim = 100, prob.lev = 0.05,
shade = FALSE, ylim, ylab, xlab, ls = 100, ...)
A fitted gamlss
/gjrm
object.
Equation number. This can be ignored for univariate models.
A data frame or list containing the values of the model covariates at which predictions are required. This must have one row and must be provided.
The plot to produce, either "surv"
or "hazard"
.
If TRUE
then intervals are also produced.
Number of simulated coefficient vectors from the posterior distribution of the estimated model parameters. This is used for interval calculations.
Overall probability of the left and right tails of the probabilities' distributions used for interval calculations.
If TRUE
then it produces shaded regions as confidence bands.
Usual plot arguments.
Length of sequence to use for time variable.
Other arguments to pass to plot.
It produces a plot or set of plots.