Posterior density of samples from a fitted spbp model.

# S3 method for 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

Examples

library("spsurv") data("veteran") fit <- bpph(Surv(time, status) ~ karno + factor(celltype), data = veteran)
#> Priors are ignored due to mle approach.
stan_dens(fit)
#> Warning: not applicable, change approach to 'bayes' to get MCMC chains density plots