Skip to contents

Plot adoption counts of selected behaviors over time

Usage

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

Arguments

tracked_behaviors

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

trial

A Trial object

Value

A ggplot object