bri.basehaz.plot: Plot the baseline hazard functions for survival models using...

View source: R/XW.R

bri.basehaz.plotR Documentation

Plot the baseline hazard functions for survival models using INLA

Description

Plot the baseline hazard functions for survival models using INLA

Usage

bri.basehaz.plot(inla.obj, plot = TRUE, cex.lab = 1.25,
  cex.axis = 1.25, ...)

Arguments

inla.obj

an object of class "inla".

plot

if plot = TRUE, the plot of the baseline hazard functions will be generated.

cex.lab

The magnification to be used for x and y labels relative to the current setting of cex.

cex.axis

The magnification to be used for x and y labels relative to the current setting of cex.

...

Details

The function supports Weibull model, Expontenial model and Cox proportional hazards model for right censored data.

Value

A list of evaluated time points (time), and the values of corresponding base line function (basehaz).


julianfaraway/brinla documentation built on April 6, 2023, 2:33 p.m.