hazsurv.plot: Hazard and survival plots

Description Usage Arguments Value Author(s)

View source: R/hazsurv.plot.r

Description

This function produces either a survival or hazard plot.

Usage

1
2
3
hazsurv.plot(x, eq, newdata, type = "surv", intervals = TRUE, 
             n.sim = 100, prob.lev = 0.05, 
             shade = FALSE, ylim, ylab, xlab, ...)

Arguments

x

A fitted gamlss/copulaReg object as produced by the respective fitting function.

eq

Equation number. This can be ignored for univariate models.

newdata

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.

type

The plot to produce, either "surv" or "hazard".

intervals

If TRUE then intervals are also produced.

n.sim

Number of simulated coefficient vectors from the posterior distribution of the estimated model parameters. This is used for interval calculations.

prob.lev

Overall probability of the left and right tails of the probabilities' distributions used for interval calculations.

shade

If TRUE then it produces shaded regions as confidence bands.

ylim, ylab, xlab

Usual plot arguments.

...

Other arguments to pass to plot.

Value

It produces a plot.

Author(s)

Maintainer: Giampiero Marra [email protected]


JRM documentation built on July 13, 2017, 5:03 p.m.