summary.boral | R Documentation |
A summary of the fitted boral objects including the type of model fitted e.g., error distribution, number of latent variables parameter estimates, and so on.
## S3 method for class 'boral'
summary(object, est = "median", ...)
## S3 method for class 'summary.boral'
print(x,...)
object |
An object of class "boral". |
x |
An object of class "boral". |
est |
A choice of either whether to print the posterior median ( |
... |
Not used. |
Attributes of the model fitted, parameter estimates, and posterior probabilities of including individual and/or grouped coefficients in the model based on SSVS if appropriate.
Francis K.C. Hui [aut, cre], Wade Blanchard [aut]
Maintainer: Francis K.C. Hui <fhui28@gmail.com>
boral
for the fitting function on which summary
is applied.
## Not run:
## NOTE: The values below MUST NOT be used in a real application;
## they are only used here to make the examples run quick!!!
example_mcmc_control <- list(n.burnin = 10, n.iteration = 100,
n.thin = 1)
testpath <- file.path(tempdir(), "jagsboralmodel.txt")
library(mvabund) ## Load a dataset from the mvabund package
data(spider)
y <- spider$abun
spiderfit_nb <- boral(y, family = "negative.binomial",
lv.control = list(num.lv = 2), row.eff = "fixed",
mcmc.control = example_mcmc_control, model.name = testpath)
summary(spiderfit_nb)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.