stan_dens-methods: Density plots method for fitted spbp models

Description Usage Arguments Value See Also Examples

Description

Posterior density of samples from a fitted spbp model.

Usage

1
2
## S3 method for class 'spbp'
stan_dens(spbp, pars = c("beta", "gamma"), ...)

Arguments

spbp

the result of a spbp fit.

pars

parameters to be selected.

...

arguments inherent from stan_dens.

Value

see stan_dens.

See Also

spbp, traceplot.spbp, extract.spbp

Examples

1
2
3
4
5
6
7
library("spsurv")
data("veteran")

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

stan_dens(fit)

spsurv documentation built on April 14, 2020, 7:20 p.m.