survBayes.baseline.hazard {survBayes}R Documentation

Baseline hazard of survBayes result

Description

These function calculates the plain, log or cumulative baseline hazard for a survBayes result

Usage

survBayes.baseline.hazard(surv.res,type="log",n.inter=3,start=NULL,end=NULL,thin=1)

Arguments

surv.res result of survBayes
type One of "log"(default),"plain","cum". Determines if the log baseline hazard, the baseline hazard or the cumulative baseline hazard is calculated.
n.inter number of points between the interval points to display
start the first iteration of interest
end the last iteration of interest
thin the required interval between successive samples

Value

The returned values are

time used times
log.base.haz log baseline hazard, if type="log"
base.haz baseline hazard, if type="plain"
cum.base.haz cumulative baseline hazard, if type="cum"

Author(s)

V. Henschel, U. Mansmann

See Also

window.mcmc


[Package survBayes version 0.2.2 Index]