Traceplot of a Bayesian fit spbp
.
# S3 method for spbp traceplot(spbp, pars = c("beta", "gamma"), ...)
spbp | an object of class `spbp` result of a |
---|---|
pars | parameters to be selected. |
... | arguments inherent from |
see traceplot
.
library("spsurv") data("veteran") fit <- bpph(Surv(time, status) ~ karno + factor(celltype), data = veteran)#>traceplot(fit)#> Warning: not applicable, change approach to 'bayes' to get MCMC chains density plots