Returns TRUE if the design was created (or passed through) rowwise().
Use this predicate in estimation functions to detect and handle (or
disallow) rowwise mode.
Arguments
- design
A
survey_baseobject.
See also
Other grouping:
group_by,
is_grouped(),
rowwise
Examples
library(surveytidy)
library(surveycore)
d <- as_survey(pew_npors_2025, weights = weight, strata = stratum)
is_rowwise(d) # FALSE
#> [1] FALSE
is_rowwise(rowwise(d)) # TRUE
#> [1] TRUE