plot_NIW_belief_parameters: Plot NIW belief or NIW beliefs object.

View source: R/visualize-NIW-IA-simulation.R

plot_NIW_belief_parametersR Documentation

Plot NIW belief or NIW beliefs object.

Description

Plot the parameters of an NIW_belief or NIW_beliefs object.

Usage

plot_NIW_belief_parameters(
  x,
  group.colors = NULL,
  facet_rows_by = NULL,
  facet_cols_by = NULL,
  animate_by = NULL,
  animation_follow = F
)

Arguments

x

An NIW_belief or NIW_beliefs object.

group.colors

Vector of fill colors of same length as the number of unique groups in the NIW_belief(s) object, or 'NULL' to use defaults. (default: 'NULL')

facet_rows_by, facet_cols_by, facet_wrap_by, animate_by

Which group variables, if any, should be used for faceting and/or animation? (defaults: 'NULL')

animation_follow

Should the animation follow the data (zoom in and out)? (default: 'FALSE')

Value

ggplot object.

See Also

TBD


hlplab/MVBeliefUpdatr documentation built on March 29, 2025, 10:42 p.m.