stan_dens.spbp {spsurv} | R Documentation |
Density plots method for fitted spbp models
Description
Posterior density of samples from a fitted spbp
model.
Usage
## S3 method for class 'spbp'
stan_dens(spbp, pars = c("beta", "gamma"), ...)
Arguments
spbp |
the result of a |
pars |
parameters to be selected. |
... |
arguments inherent from |
Value
see stan_dens
.
See Also
spbp
, traceplot.spbp
, extract.spbp
Examples
library("spsurv")
data("veteran")
fit <- bpph(Surv(time, status) ~ karno + factor(celltype),
data = veteran)
stan_dens(fit)
[Package spsurv version 1.0.0 Index]