Skip to contents

Workflow

Prepare data, fit the model and scale the predictions to catch.

data_prep()
Prepare compositional count data
fit_model()
Fit the Poisson-multinomial model
scale_comps()
Scale predicted compositions to catch or to an index population
parse_form()
Parse a formula

Diagnostics and effects

post_pred_group()
Posterior predictive check by group
Fx_plot()
Plot bin-specific effects as multipliers
cvar_smooth_plot()
Plot marginal smooth effects of a continuous covariate by bin
spatial_field_plot()
Plot predicted spatial field by bin

Influence of model terms

Step and coefficient-distribution-influence plots for compositions.

step_comps()
Add model terms one at a time and track a statistic of the composition
plot_step_comps()
Plot the step results
influ_comps()
Influence of model terms on the composition
plot_cdi_comps()
Coefficient, distribution and influence plot for one term
comp_quantile()
Statistics of a composition

Plot theme

theme_compom()
ComPoM plot theme

Scaled compositions

scaled_comp_plot()
Plot scaled compositions
scaled_ridge_plot()
Plot scaled compositions as ridgeline plot

Data

ex_data ex_comp ex_catch
Simulated example data