Skip to contents

Survey interaction means

Usage

svy_interact(
  design,
  interact_cols,
  group = NULL,
  arrange = TRUE,
  unnest_interaction = TRUE,
  na_rm = TRUE,
  stat_name = "prop",
  ...
)

Arguments

design

A srvyr::design object

interact_cols

A vector of columns to get interactions from

group

A vector of columns to group by. Default to NULL

unnest_interaction

Should interaction be unnested? Default to TRUE

na_rm

Should NAs from interact_cols be removed? Default to TRUE

stat_name

What should the statistic's column be named? Default to "prop"

...

Parameters to pass to srvyr::survey_mean()

Value

A survey-summarized-interaction tibble