bayesCoxMcmc function

Get the MCMC Samples from bayesCox

Get the MCMC Samples from bayesCox

Returns the MCMC samples produced by bayesCox into data frames.

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.
  • Maintainer: Wenjie Wang
  • License: GPL (>= 3)
  • Last published: 2024-07-08