Skip to contents

Return different .

Usage

example_sample_data(
  is_timevar = TRUE,
  is_aggregated = TRUE,
  special_case = NULL,
  family = "binomial"
)

Arguments

is_timevar

Logical indicating whether the data is time-varying

is_aggregated

Logical indicating whether the data is aggregated

special_case

Optional character string for special cases (e.g., "covid", "poll")

family

Character string specifying the distribution family for outcome measures (e.g., "binomial", "normal")

Value

A data frame containing example data for the specified use case.