multilevelcoda1.3.0.2 package

Estimate Bayesian Multilevel Models for Compositional Data

mcmc_plot.brmcoda

MCMC Plots Implemented in bayesplot

mean.complr

Mean amounts and mean compositions presented in a complr object.

model.frame.brmcoda

Extracting the Model Frame from a Formula or Fit from brmcoda object

multilevelcoda_sim

multilevelcoda Simulation Study Results

nobs.brmcoda

Extract Number of Observations from brmcoda object

pairs.brmcoda

Create a matrix of output plots from a brmcoda's brmsfit object

plot.brmcoda

Trace and Density Plots for MCMC Draws plot

plot.substitution

Substitution Plot

pp_check.brmcoda

Posterior Predictive Checks for brmcoda Objects

predict.brmcoda

Draws from the Posterior Predictive Distribution

print.brmcoda

Print a Summary for a fitted brmsfit model in a brmcoda object

print.complr

Print a Summary for a complr object

print.substitution

Print a Summary for a substitution object

print.summary.complr

Summary for a complr object

prior_summary.brmcoda

Extract Priors of a brmsfit from a brmcoda object

bayes_factor.brmcoda

Bayes Factors from Marginal Likelihoods

launch_shinystan.brmcoda

Interface to shinystan

loo.brmcoda

Efficient approximate leave-one-out cross-validation (LOO)

as.data.frame.complr

Extract Compositional Data from complr object.

basesub

Base Pairwise Substitution

brmcoda

Fit Bayesian generalised (non-)linear multilevel compositional model v...

bsub

Between-person Simple Substitution

bsubmargins

Between-person Average Substitution

build.rg

Reference Grid for substitution model.

coef.brmcoda

Model Coefficients

compilr

Indices from a (dataset of) Multilevel Composition(s) (deprecated.)

complr

Indices from a (dataset of) Multilevel Composition(s)

create_substitution

Constructor function for substitution class.

diagnostic-quantities-brmcoda

Extract Diagnostic Quantities from brmsfit Models in brmcoda

draws-index-brmcoda

Index brmcoda objects

fitted.brmcoda

Expected Values of the Posterior Predictive Distribution

fixef.brmcoda

Population-Level Estimates

get-substitution

Helper functions used only internally to estimate substitution model

is.brmcoda

Checks if argument is a brmcoda object

is.complr

Checks if argument is a complr object

is.substitution

Checks if argument is a substitution object

ranef.brmcoda

Group-Level Estimates

residuals.brmcoda

Posterior Draws of Residuals/Predictive Errors

sub

Simple Substitution

submargins

Average Substitution

substitution

Multilevel Compositional Substitution Analysis

summary.brmcoda

Create a Summary of a fitted brmsfit model in a brmcoda object

summary.complr

Create a Summary of a complr object

summary.substitution

Create a Summary of a Substitution Model represented by a `substitutio...

update.brmcoda

Update brmcoda models

update.complr

Update complr

var.complr

Variance of compositions presented in a complr object.

VarCorr.brmcoda

Extract Variance and Correlation Components

vcov.brmcoda

Covariance and Correlation Matrix of Population-Level Effects

wsub

Within-person Simple Substitution

wsubmargins

Within-person Average Substitution

Implement Bayesian Multilevel Modelling for compositional data in a multilevel framework. Compute multilevel compositional data and Isometric log ratio (ILR) at between and within-person levels, fit Bayesian multilevel models for compositional predictors and outcomes, and run post-hoc analyses such as isotemporal substitution models.

  • Maintainer: Flora Le
  • License: GPL (>= 3)
  • Last published: 2024-07-09