bayesCoxMcmc {dynsurv}R Documentation

Get the MCMC Samples from bayesCox

Description

Returns the MCMC samples produced by bayesCox into data frames.

Usage

bayesCoxMcmc(object, parts = c("h0", "coef"), ...)

Arguments

object

A bayesCox object

parts

A character vector specifying the parts to be exacted from the MCMC output text file produced by bayesCox. One or more following options can be specified: "h0" for baseline hazard function, "coef" for covariate coefficients, "nu" for sampled latent variance of coefficients, "jump" for indicators of jumps, and "all" for all of the above. The default value is c("h0", "beta").

...

Other arguments that are not used now.


[Package dynsurv version 0.4-3 Index]