Skip to content

Add collapse_levels(), as_matrix(), prop arguments to applicable as_*() functions, and the a1a-collapse-convert vignette#25

Merged
friendly merged 35 commits intomasterfrom
GK-work
Apr 2, 2026
Merged

Add collapse_levels(), as_matrix(), prop arguments to applicable as_*() functions, and the a1a-collapse-convert vignette#25
friendly merged 35 commits intomasterfrom
GK-work

Conversation

@gklorfine
Copy link
Copy Markdown
Collaborator

  1. Added a general collapse_levels() function that can collapse levels of variables belonging to data sets of any form.
  2. Added as_matrix() to the set of as_*() conversion functions.
  3. Added prop arguments to applicable as_*() conversion functions to easily convert counts to proportions (either relative to the grand total count or to specified margins).

gklorfine added 30 commits March 7, 2026 21:54
@friendly friendly merged commit 2ad50e4 into master Apr 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants