summary.multibasta {BaSTA} | R Documentation |
Summarizing multiple Bayesian Survival Trajectory Analsys (BaSTA) model output.
Description
These functions allow users visualize the output from function multibasta
.
Usage
## S3 method for class 'multibasta'
summary(object, ...)
## S3 method for class 'multibasta'
print(x, ...)
## S3 method for class 'multibasta'
coef(object, showAll = FALSE, ...)
Arguments
object |
An object of class “ |
x |
An object of class “ |
showAll |
Logical whether the coefficients from all models should be shown. |
... |
Additional arguments to be passed to function |
Value
Function coef.multibasta
returns a list
with the following objects:
coefficients |
A list with the |
DICs |
A matrix with the DIC values for each model, sorted from the model with lowest DIC to the model with highest DIC. |
Author(s)
Fernando Colchero colchero@imada.sdu.dk, Owen R. Jones jones@biology.sdu.dk, and Maren Rebke maren.rebke@avitec-research.de
See Also
Examples
## Load data:
data("bastaCMRdat", package = "BaSTA")
## Run short version of BaSTA on the data:
multiout <- multibasta(bastaCMRdat, studyStart = 51, studyEnd = 70,
models = c("GO", "WE"), shapes = "simple",
niter = 100, burnin = 11, thinning = 10,
nsim = 1, updateJumps = FALSE, parallel = FALSE)
## Print results:
summary(multiout, digits = 3)
[Package BaSTA version 2.0.2 Index]