Learn R Programming

spsurv (version 1.0.0)

traceplot.spbp: Traceplot method for fitted spbp models

Description

Traceplot of a Bayesian fit spbp.

Usage

# S3 method for spbp
traceplot(spbp, pars = c("beta", "gamma"), ...)

Arguments

spbp

an object of class `spbp` result of a spbp fit.

pars

parameters to be selected.

...

arguments inherent from traceplot.

Value

see traceplot.

See Also

spbp, stan_dens.spbp, extract.spbp

Examples

Run this code
# NOT RUN {
library("spsurv")
data("veteran")

fit <- bpph(Surv(time, status) ~ karno + factor(celltype),
data = veteran)

traceplot(fit)

# }

Run the code above in your browser using DataLab