Multivariate (Dynamic) Generalized Additive Models


[Up] [Top]

Documentation for package ‘mvgam’ version 2.0.0

Help Pages

A B C D E F G H I J K L M N O P R S T U V W Z

-- A --

active_factors Posterior count of the latent factors a model uses
active_factors.mvgam Posterior count of the latent factors a model uses
add_criterion.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
AR Latent trend models for 'mvgam'
as.array.mvgam Extract posterior draws from fitted 'mvgam' objects
as.data.frame.mvgam Extract posterior draws from fitted 'mvgam' objects
as.data.frame.mvgam_conditional_effects Display conditional effects of predictors for mvgam models
as.matrix.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws_array.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws_df.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws_df.mvgam_community Community quantities from a fitted model
as_draws_list.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws_matrix.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws_rvars.mvgam Extract posterior draws from fitted 'mvgam' objects
as_draws_rvars.mvgam_community Community quantities from a fitted model
augment.mvgam Augment an 'mvgam' object's training data with fitted values and residuals

-- B --

bayes_factor.mvgam Bridge sampling and Bayes factors for 'mvgam' fits
bayes_R2.mvgam Posterior summaries and sampler diagnostics of mvgam models
beta_nb Beta negative binomial family for heavy-tailed counts
bibtex The BibTeX entries of a 'how_to_cite' object
bibtex.how_to_cite The BibTeX entries of a 'how_to_cite' object
birdsong Simulated weekly bird song counts with hierarchically correlated AR(1) trends
bridge_sampler.mvgam Bridge sampling and Bayes factors for 'mvgam' fits

-- C --

CAR Latent trend models for 'mvgam'
categ Categorical family for one category observed per unit
check_newdata Validate 'newdata' against the training data of an 'mvgam' model
check_tweedie_truncation Diagnose whether the Tweedie series-truncation 'M' is adequate
coef.mvgam Posterior summaries and sampler diagnostics of mvgam models
community Community quantities from a fitted model
community.mvgam Community quantities from a fitted model
compare_elpds Tidy comparison of leave-future-out ELPDs across mvgam_lfo runs
compare_loadings Compare posterior loadings between two latent-factor fits
compare_scores Tidy comparison of forecast scores across mvgam models
com_binomial Conway-Maxwell-Binomial family for over-, equi-, under-, and super-dispersed bounded counts
conditional_effects.mvgam Display conditional effects of predictors for mvgam models
conditional_smooths.mvgam Plots of each smooth term
control_params.mvgam Sampler control settings of a fitted mvgam model
coral_surveys Simulated coral bleaching surveys with an irregular CAR(1) state

-- D --

default_prior The priors of a model
default_prior.default The priors of a model formula
default_prior.mvgam The prior table of an mvgam model
default_prior.mvgam_formula The priors an mvgam model takes, before fitting
diri Dirichlet family for compositions

-- E --

ensemble Combine forecasts from 'mvgam' models into a weighted ensemble
ensemble.mvgam_forecast Combine forecasts from 'mvgam' models into a weighted ensemble

-- F --

family.mvgam Extract family from mvgam object
fevd Calculate latent VAR forecast error variance decompositions
fevd.mvgam Calculate latent VAR forecast error variance decompositions
fitted.mvgam Expected values of an mvgam model
fixef.mvgam Posterior summaries and sampler diagnostics of mvgam models
forecast.mvgam Posterior forecasts for an mvgam state-space model
forecast_uncertainty Forecast uncertainty by source
forecast_uncertainty.mvgam Forecast uncertainty by source
formula.mvgam Extract formula from mvgam object

-- G --

getCall.mvgam Posterior summaries and sampler diagnostics of mvgam models
get_prior The priors of a model
get_prior.default The priors of a model formula
get_prior.mvgam The prior table of an mvgam model
get_prior.mvgam_formula The priors an mvgam model takes, before fitting
glance.mvgam Model summary for an 'mvgam' fit

-- H --

hindcast Posterior hindcasts for an mvgam state-space model
hindcast.mvgam Posterior hindcasts for an mvgam state-space model
how_to_cite A methods paragraph and references for an 'mvgam' model
how_to_cite.mvgam A methods paragraph and references for an 'mvgam' model
hypothesis.mvgam Test posterior hypotheses on a fitted 'mvgam' model

-- I --

index-mvgam Parameter names of a fitted mvgam model
inits.mvgam Initial values of a fitted mvgam model
irf Calculate latent VAR impulse response functions
irf.mvgam Calculate latent VAR impulse response functions
is.mvgam_trend Whether an object is an mvgam trend

-- J --

jsdgam Fit a joint species distribution model

-- K --

kfold.mvgam K-fold cross-validation for 'mvgam' fits

-- L --

lake_chemistry Simulated lake phosphorus with correlated random-walk state
latent_N_saturation How often each unit's latent state reaches its cap
lfo_cv Approximate leave-future-out cross-validation of fitted mvgam objects
lfo_cv.mvgam Approximate leave-future-out cross-validation of fitted mvgam objects
list_trend_types List the available trend types
LLT Local linear trends, with optional damping and seasons
logLik.mvgam Log-likelihood of a fitted mvgam model
log_lik.mvgam Pointwise log-likelihoods from a fitted mvgam model
log_posterior.mvgam Posterior summaries and sampler diagnostics of mvgam models
LOO.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo.mvgam Approximate leave-one-out cross-validation for 'mvgam' models
loo_compare.mvgam Approximate leave-one-out cross-validation for 'mvgam' models
loo_compare.mvgam_lfo Compare leave-future-out evaluations across models
loo_epred.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_linpred.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_model_weights.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_model_weights.mvgam_lfo Model weights from 'mvgam_lfo' objects
loo_moment_match.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_predict.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_predictive_interval.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_R2.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
loo_subsample.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
lv_axis Vary a trend effect along the trend's axis

-- M --

mcmc_plot.mvgam MCMC plots of mvgam parameters with bayesplot
methods_md The equations of a model, as Markdown
methods_md.mvgam The equations of a model, as Markdown
model.frame.mvgam Extract a model frame from a fitted mvgam object
multi Multinomial family for counts over several categories
mvgam Fit a Bayesian multivariate state-space model
mvgam-class Fitted 'mvgam' object description
mvgam_data Inspect long-format data before fitting an 'mvgam'
mvgam_diagnostics Posterior summaries and sampler diagnostics of mvgam models
mvgam_draws Extract posterior draws from fitted 'mvgam' objects
mvgam_families Observation families supported by mvgam
mvgam_fevd-class 'mvgam_fevd' object description
mvgam_forecast-class 'mvgam_forecast' object description
mvgam_formula Pair an observation formula with a trend formula
mvgam_irf-class 'mvgam_irf' object description
mvgam_loo_extras Leave-one-out predictions, R-squared and criteria for mvgam models
mvgam_multiple Fit mvgam models to multiply imputed datasets
mvgam_residcor-class 'mvgam_residcor' object description
mvgam_theme The ggplot theme mvgam draws with
mvgam_trend_specification Fields of an mvgam_trend object
mvgam_use_cases Example use cases for 'mvgam'
mvn Multivariate normal family for several continuous responses
mvt Multivariate Student-t family for several continuous responses

-- N --

nchains.mvgam Posterior summaries and sampler diagnostics of mvgam models
ndraws.mvgam Posterior summaries and sampler diagnostics of mvgam models
neff_ratio.mvgam Posterior summaries and sampler diagnostics of mvgam models
ngrps.mvgam Number of levels per grouping factor in a fitted 'mvgam' model
niterations.mvgam Posterior summaries and sampler diagnostics of mvgam models
nmix N-mixture family for repeated counts of unmarked individuals
nobs.mvgam Extract number of observations from mvgam object
nuts_params.mvgam Posterior summaries and sampler diagnostics of mvgam models
nvariables.mvgam Posterior summaries and sampler diagnostics of mvgam models

-- O --

occ Occupancy family for repeated detection and non-detection
ordinate Ordination biplot of a latent factor model
ordinate.mvgam Ordination biplot of a latent factor model

-- P --

pairs.mvgam Pairs plot of mvgam parameters
pivot_detection_array Convert a detection array to the long format of mvgam
pivot_species_matrix Pivot a wide species matrix to mvgam long-format
plot.mvgam Default plots for 'mvgam' models
plot.mvgam_active_factors Posterior count of the latent factors a model uses
plot.mvgam_community Community quantities from a fitted model
plot.mvgam_compare_elpds Tidy comparison of leave-future-out ELPDs across mvgam_lfo runs
plot.mvgam_compare_scores Tidy comparison of forecast scores across mvgam models
plot.mvgam_conditional_effects Display conditional effects of predictors for mvgam models
plot.mvgam_conditional_smooths Plots of each smooth term
plot.mvgam_fevd 'mvgam_fevd' object description
plot.mvgam_forecast Plot posterior hindcasts and forecasts
plot.mvgam_forecast_scenarios Forecast uncertainty by source
plot.mvgam_forecast_uncertainty Forecast uncertainty by source
plot.mvgam_irf 'mvgam_irf' object description
plot.mvgam_kfold K-fold cross-validation for 'mvgam' fits
plot.mvgam_latent_state Posterior hindcasts for an mvgam state-space model
plot.mvgam_lfo Approximate leave-future-out cross-validation of fitted mvgam objects
plot.mvgam_ppc_fit_stat Posterior predictive checks for 'mvgam' models
plot.mvgam_residcor 'mvgam_residcor' object description
plot.mvgam_residcor_list 'mvgam_residcor' object description
plot.mvgam_seasonality Seasonal patterns of a fitted local linear trend
plot.mvgam_shared_variation Posterior summary of the factor-implied shared variation matrix
plot.mvgam_species_effects How each species responds to covariates
plot.mvgam_stability Calculate measures of latent VAR community stability
plot.mvgam_stability_summary Calculate measures of latent VAR community stability
plot.mvgam_variance_partition Partition each series' predictor variance among its sources
plot.mvgam_var_matrix Posterior transition matrix of a VAR trend
plot.mvgam_var_matrix_list Posterior transition matrix of a VAR trend
plot.mvgam_var_surface_summary Plot a summarised impulse response or variance decomposition
portal_data Portal Project rodent capture survey data
posterior_average.mvgam Model-averaged posterior draws and predictions across 'mvgam' fits
posterior_epred.mvgam Expected values of the response for each posterior draw
posterior_interval.mvgam Posterior credible intervals on a fitted 'mvgam' model
posterior_linpred.mvgam Linear predictor draws for each posterior draw
posterior_predict.mvgam Posterior predictive draws of the response
posterior_smooths.mvgam Posterior draws of one smooth term
posterior_summary.mvgam Posterior summaries and sampler diagnostics of mvgam models
posterior_transition_matrix Posterior transition matrix of a VAR trend
pp_average.mvgam Model-averaged posterior draws and predictions across 'mvgam' fits
pp_check Posterior predictive checks for 'mvgam' models
pp_check.mvgam Posterior predictive checks for 'mvgam' models
predict.mvgam Posterior predictions from an mvgam model
predictive_error.mvgam Posterior predictive errors on a fitted 'mvgam' model
predictive_interval.mvgam Posterior predictive intervals on a fitted 'mvgam' model
print.mvgam Print an 'mvgam' object
print.mvgamstancode Stan code and data of an mvgam model
print.mvgam_community Community quantities from a fitted model
print.mvgam_compare_scores Tidy comparison of forecast scores across mvgam models
print.mvgam_conditional_effects Display conditional effects of predictors for mvgam models
print.mvgam_conditional_smooths Plots of each smooth term
print.mvgam_forecast 'mvgam_forecast' object description
print.mvgam_forecast_scenarios Forecast uncertainty by source
print.mvgam_forecast_uncertainty Forecast uncertainty by source
print.mvgam_formula Pair an observation formula with a trend formula
print.mvgam_kfold K-fold cross-validation for 'mvgam' fits
print.mvgam_latent_state Posterior hindcasts for an mvgam state-space model
print.mvgam_lfo Approximate leave-future-out cross-validation of fitted mvgam objects
print.mvgam_pooled_summary Summary of a fit pooled over imputations
print.mvgam_ppc_fit_stat Posterior predictive checks for 'mvgam' models
print.mvgam_residcor 'mvgam_residcor' object description
print.mvgam_score Proper scoring rules for 'mvgam_forecast' objects
print.mvgam_seasonality Seasonal patterns of a fitted local linear trend
print.mvgam_sim Simulate 'mvgam'-shaped time-series data with known truth
print.mvgam_sim_closure_unit_summary Simulate closure-unit detection data with known truth
print.mvgam_sim_jsdgam_summary Simulate multi-species data for a joint species distribution model
print.mvgam_sim_summary Simulate 'mvgam'-shaped time-series data with known truth
print.mvgam_species_effects How each species responds to covariates
print.mvgam_summary Summary of mvgam model fits
print.mvgam_trend Latent trend models for 'mvgam'
print.mvgam_variance_partition Partition each series' predictor variance among its sources
print.mvgam_var_matrix Posterior transition matrix of a VAR trend
print.mvgam_var_matrix_list Posterior transition matrix of a VAR trend
prior_summary.mvgam Posterior summaries and sampler diagnostics of mvgam models
PW Piecewise linear or logistic trends

-- R --

ranef.mvgam Group-level (random) effects of a fitted 'mvgam' model
residuals.mvgam Posterior draws of residuals from 'mvgam' models
residual_cor Residual correlations between the series of a fitted model
residual_cor.mvgam Residual correlations between the series of a fitted model
rhat.mvgam Posterior summaries and sampler diagnostics of mvgam models
RW Latent trend models for 'mvgam'

-- S --

score Proper scoring rules for 'mvgam_forecast' objects
score.mvgam_forecast Proper scoring rules for 'mvgam_forecast' objects
seasonality Seasonal patterns of a fitted local linear trend
seasonality.mvgam Seasonal patterns of a fitted local linear trend
series_to_mvgam Convert time series objects to mvgam long format
shared_variation Posterior summary of the factor-implied shared variation matrix
shared_variation.mvgam Posterior summary of the factor-implied shared variation matrix
sim_closure_unit_data Simulate closure-unit detection data with known truth
sim_jsdgam Simulate multi-species data for a joint species distribution model
sim_mvgam Simulate 'mvgam'-shaped time-series data with known truth
smooths The smooth terms of a fitted model
smooths.mvgam The smooth terms of a fitted model
species_effects How each species responds to covariates
species_effects.mvgam How each species responds to covariates
stability Calculate measures of latent VAR community stability
stability.mvgam Calculate measures of latent VAR community stability
stancode.bform Stan program and data from a formula carrying a 'trend_formula'
stancode.formula Stan program and data from a formula carrying a 'trend_formula'
stancode.mvgam Stan code and data of an mvgam model
stancode.mvgam_formula Stan code and data of an mvgam model
standata.bform Stan program and data from a formula carrying a 'trend_formula'
standata.formula Stan program and data from a formula carrying a 'trend_formula'
standata.mvgam Stan code and data of an mvgam model
standata.mvgam_formula Stan code and data of an mvgam model
summary.mvgam Summary of mvgam model fits
summary.mvgam_community Community quantities from a fitted model
summary.mvgam_compare_scores Tidy comparison of forecast scores across mvgam models
summary.mvgam_fevd 'mvgam_fevd' object description
summary.mvgam_forecast 'mvgam_forecast' object description
summary.mvgam_forecast_scenarios Forecast uncertainty by source
summary.mvgam_forecast_uncertainty Forecast uncertainty by source
summary.mvgam_irf 'mvgam_irf' object description
summary.mvgam_kfold K-fold cross-validation for 'mvgam' fits
summary.mvgam_latent_state Posterior hindcasts for an mvgam state-space model
summary.mvgam_lfo Approximate leave-future-out cross-validation of fitted mvgam objects
summary.mvgam_pooled Summary of a fit pooled over imputations
summary.mvgam_residcor 'mvgam_residcor' object description
summary.mvgam_seasonality Seasonal patterns of a fitted local linear trend
summary.mvgam_sim Simulate 'mvgam'-shaped time-series data with known truth
summary.mvgam_sim_closure_unit Simulate closure-unit detection data with known truth
summary.mvgam_sim_jsdgam Simulate multi-species data for a joint species distribution model
summary.mvgam_species_effects How each species responds to covariates
summary.mvgam_stability Calculate measures of latent VAR community stability
summary.mvgam_variance_partition Partition each series' predictor variance among its sources

-- T --

terms.mvgam Model terms for a fitted mvgam object
tidy.mvgam Tidy an 'mvgam' object's parameter posteriors
trend_constructors Latent trend models for 'mvgam'
tweedie Tweedie compound Poisson-gamma family for mvgam

-- U --

update.mvgam Update a fitted 'mvgam' model

-- V --

VAR Latent trend models for 'mvgam'
VarCorr.mvgam Standard deviations and correlations of group-level effects
variables Parameter names of a fitted mvgam model
variables.mvgam Parameter names of a fitted mvgam model
variance_partition Partition each series' predictor variance among its sources
variance_partition.mvgam Partition each series' predictor variance among its sources
vcov.mvgam Posterior summaries and sampler diagnostics of mvgam models

-- W --

WAIC.mvgam Leave-one-out predictions, R-squared and criteria for mvgam models
waic.mvgam Widely applicable information criterion for mvgam models

-- Z --

ZMVN Correlated latent effects with no time dependence