Learn R Programming

boral (version 2.0.3)

Bayesian Ordination and Regression AnaLysis

Description

Bayesian approaches for analyzing multivariate data in ecology. Estimation is performed using Markov Chain Monte Carlo (MCMC) methods via Three. JAGS types of models may be fitted: 1) With explanatory variables only, boral fits independent column Generalized Linear Models (GLMs) to each column of the response matrix; 2) With latent variables only, boral fits a purely latent variable model for model-based unconstrained ordination; 3) With explanatory and latent variables, boral fits correlated column GLMs with latent variables to account for any residual correlation between the columns of the response matrix.

Copy Link

Version

Install

install.packages('boral')

Monthly Downloads

636

Version

2.0.3

License

GPL-2

Maintainer

Francis Hui

Last Published

April 29th, 2025

Functions in boral (2.0.3)

boral

Fitting boral (Bayesian Ordination and Regression AnaLysis) models
calc.logLik.lv0

Log-likelihood for a model fitted with no latent variables
about.ranefs

Including response-specific random intercepts in boral
boral-package

Bayesian Ordination and Regression AnaLysis (boral)
calc.marglogLik

Marginal log-likelihood for a fitted model
about.ssvs

Stochastic search variable selection (SSVS) in boral
about.traits

Including species traits in boral
about.distributions

Distributions available in boral
about.lvs

Correlation structure for latent variables
calc.condlogLik

Conditional log-likelihood for a fitted model
get.mcmcsamples

Extract MCMC samples from models
create.life

lifecycle::badge("stable") Simulate a Multivariate response matrix
fitted.boral

Extract Model Fitted Values for an boral object
get.enviro.cor

Extract covariances and correlations due to shared environmental responses
get.measures

Information Criteria for models
ds.residuals

Dunn-Smyth Residuals for a fitted model
calc.varpart

Variance partitioning for a latent variable model
coefsplot

Caterpillar plots of the regression coefficients from a fitted model
get.dic

Extract Deviance Information Criterion for a fitted model
get.hpdintervals

Highest posterior density intervals for a fitted model
tidyboral

Reformats output from a boral fit
get.more.measures

Additional Information Criteria for models
lvsplot

Plot the latent variables from a fitted model
make.jagsboralmodel

Write a text file containing a model for use into JAGS
summary.boral

Summary of fitted boral object
get.residual.cor

Extract residual correlations and precisions from models
plot.boral

Plots of a fitted boral object
make.jagsboralnullmodel

Write a text file containing a model for use into JAGS
predict.boral

Predict using a model
ranefsplot

Caterpillar plots of response-specific random effects from a fitted model