Package: boral 2.0.3

boral: Bayesian Ordination and Regression AnaLysis

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.

Authors:Francis K.C. Hui [aut, cre], Wade Blanchard [aut]

boral_2.0.3.tar.gz
boral_2.0.3.zip(r-4.7)boral_2.0.3.zip(r-4.6)boral_2.0.3.zip(r-4.5)
boral_2.0.3.tgz(r-4.6-any)boral_2.0.3.tgz(r-4.5-any)
boral_2.0.3.tar.gz(r-4.7-any)boral_2.0.3.tar.gz(r-4.6-any)
boral_2.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
boral/json (API)

# Install 'boral' in R:
install.packages('boral', repos = c('https://fhui28.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC - binary JAGS is Just Another Gibbs Sampler. It is a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation not wholly unlike BUGS. JAGS was written with three aims in mind: * To have an engine for the BUGS language that runs on Unix * To be extensible, allowing users to write their own functions, distributions and samplers. * To be a plaftorm for experimentation with ideas in Bayesian modelling This package contains the 'jags' binary as well as the associated shared library modules loaded by the binary.
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

jagscpp

3.33 score 2 stars 118 scripts 517 downloads 9 mentions 24 exports 22 dependencies

Last updated from:6e5473befe. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK129
source / vignettesOK157
linux-release-x86_64OK119
macos-release-arm64OK123
macos-oldrel-arm64OK135
windows-develOK95
windows-releaseOK97
windows-oldrelOK96
wasm-releaseOK97

Exports:boralboral.defaultcalc.condlogLikcalc.logLik.lv0calc.marglogLikcalc.varpartcoefsplotcreate.lifeds.residualsfitted.boralget.enviro.corget.hpdintervalsget.mcmcsamplesget.measuresget.more.measuresget.residual.corlvsplotmake.jagsboralmodelmake.jagsboralnullmodelplot.boralpredict.boralranefsplotsummary.boraltidyboral

Dependencies:abindbootclicodacorpcorfishModgluelatticelifecyclemagrittrMASSmvtnormplyrR2jagsR2WinBUGSRcppreshape2rjagsrlangstringistringrvctrs

Readme and manuals

Help Manual

Help pageTopics
Bayesian Ordination and Regression AnaLysis (boral)boral-package
Distributions available in boralabout.distributions
Correlation structure for latent variablesabout.lvs
Including response-specific random intercepts in boralabout.ranefs
Stochastic search variable selection (SSVS) in boralabout.ssvs
Including species traits in boralabout.traits
Fitting boral (Bayesian Ordination and Regression AnaLysis) modelsboral boral.default print.boral
Conditional log-likelihood for a fitted modelcalc.condlogLik
Log-likelihood for a model fitted with no latent variablescalc.logLik.lv0
Marginal log-likelihood for a fitted modelcalc.marglogLik
Variance partitioning for a latent variable modelcalc.varpart
Caterpillar plots of the regression coefficients from a fitted modelcoefsplot
\Sexpr[results=rd, stage=render]{lifecycle::badge("stable")} Simulate a Multivariate response matrixcreate.life simulate.boral
Dunn-Smyth Residuals for a fitted modelds.residuals
Extract Model Fitted Values for an boral objectfitted.boral
Extract Deviance Information Criterion for a fitted modelget.dic
Extract covariances and correlations due to shared environmental responsesget.enviro.cor
Highest posterior density intervals for a fitted modelget.hpdintervals
Extract MCMC samples from modelsget.mcmcsamples
Information Criteria for modelsget.measures
Additional Information Criteria for modelsget.more.measures
Extract residual correlations and precisions from modelsget.residual.cor
Plot the latent variables from a fitted modellvsplot
Write a text file containing a model for use into JAGSmake.jagsboralmodel
Write a text file containing a model for use into JAGSmake.jagsboralnullmodel
Plots of a fitted boral objectplot.boral
Predict using a modelpredict.boral
Caterpillar plots of response-specific random effects from a fitted modelranefsplot
Summary of fitted boral objectprint.summary.boral summary.boral
Reformats output from a boral fittidyboral