A function to compute quantiles of the posterior baseline hazard or cumulative baseline hazard.
baselinehazard(
x,
t = NULL,
n = 100,
probs = c(0.025, 0.5, 0.975),
cumulative = FALSE,
plot = TRUE,
bw = FALSE,
...
)
the vector of times and quantiles of the baseline or cumulative baseline hazard at those times
an object inheriting class mcmcspatsurv
optional vector of times at which to compute the quantiles, Defult is NULL, in which case a uniformly spaced vector of length n from 0 to the maximum time is used
the number of points at which to compute the quantiles if t is NULL
vector of probabilities
logical, whether to return the baseline hazard (default i.e. FALSE) or cumulative baseline hazard
whether to plot the result
Logical. Plot in black/white/greyscale? Default is to produce a colour plot. Useful for producing plots for journals that do not accept colour plots.
additional arguments to be passed to plot
print.mcmcspatsurv, quantile.mcmcspatsurv, summary.mcmcspatsurv, vcov.mcmcspatsurv, frailtylag1, spatialpars, hazardpars, fixedpars, randompars, predict.mcmcspatsurv, priorposterior, posteriorcov, MCE, hazardexceedance