Learn R Programming

dynsurv (version 0.2-2)

jump.bayesCox: Extract Jump Information from Bayesian Dyanmic Model

Description

Extract number of coefficient pieces from bayesCox fitting results, and summarize them into a data frame. It is only applicable when model="Dynamic" is specified.

Usage

"jump"(object, ...)

Arguments

object
an object returned by function bayesCox.
...
other arguments.

Value

A data.frame with 3 columns ("Count", "Iter", "Cov"), where "Count" is the number of coefficient pieces (jumps) for each iteration; Iter is the iteration number; Cov contains the character values of the covariates.

See Also

bayesCox, plotJumpTrace, and plotJumpHist.

Examples

Run this code
# See the examples in bayesCox

Run the code above in your browser using DataLab