stan_dens.spbp {spsurv} | R Documentation |
Posterior density of samples from a fitted spbp
model.
## S3 method for class 'spbp'
stan_dens(spbp, pars = c("beta", "gamma"), ...)
spbp |
the result of a |
pars |
parameters to be selected. |
... |
arguments inherent from |
see stan_dens
.
spbp
, traceplot.spbp
, extract.spbp
library("spsurv")
data("veteran")
fit <- bpph(Surv(time, status) ~ karno + factor(celltype),
data = veteran)
stan_dens(fit)