# Multivariate Age-Period-Cohort (MAPC) Modeling for Health Data

## Documentation for package ‘MAPCtools’ version 0.1.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package README

## Help Pages

aggregate_df | Aggregate data across an entire data frame using sufficient statistics
as.APC.df | Add 1-indexed APC columns to data frame, handling numeric or categorical age/period
as.APC.NA.df | Create NA structure across age, period and cohort groups based on strata
fit_all_MAPC | Fit all configurations of MAPC models using INLA
fit_MAPC | Fit a multivariable age-period-cohort model
generate_apc_lincombs | Generate Age-Period-Cohort Linear Combinations for INLA
generate_MAPC_formula | Generate MAPC formula for INLA
plot_binned_counts | Plot counts of observations across bins of a numeric variable, optionally stratified
plot_counts_1D | Plot counts of observations across a single variable, optionally stratified
plot_counts_2D | Plot counts of observations across two dimensions, optionally stratified
plot_counts_with_mean | Plot heatmap of observation counts with mean overlay, optionally stratified
plot_lincombs | Plot Linear Combinations of Age-Period-Cohort Effects by Strata
plot_mean_response_1D | Plot mean of a response variable across a single variable, optionally stratified
plot_mean_response_2D | Plot mean of a response variable across two dimensions, optionally stratified
plot_missing_data | Plot Missing Group Combinations
toy_data | Synthetic Age-Period-Cohort Dataset
validate_lincombs_against_formula | Validate lincomb terms against an INLA formula