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", ci = FALSE, 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.
ci if TRUE credibility intervals of the chosen type of baseline hazard are calculated
n.inter number of points between the interval points to display, not for type="cum"
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", with .lower and .upper if ci
base.haz baseline hazard, if type="plain", with .lower and .upper if ci
cum.base.haz cumulative baseline hazard, if type="cum", with .lower and .upper if ci

Author(s)

V. Henschel, U. Mansmann

See Also

window.mcmc


[Package survBayes version 0.2.1.1 Index]