Skip to contents

Plot adoption counts of selected behaviors over time Plot adoption counts of selected behaviors (tracked_behaviors) over time.

Usage

plot_prevalence(
  trials_or_tibble,
  behavior_order = c("Legacy", "Adaptive"),
  theme_size = 16
)

Arguments

trial

A Trial object

tracked_behaviors

Character vector of behaviors to track (e.g., c("Adaptive", "Legacy"))

Value

A ggplot object