tidymodels / infer

An R package for tidyverse-friendly statistical inference
https://infer.tidymodels.org
Other
724 stars 80 forks source link

Preserve contrasts matrices #499

Closed wjhopper closed 1 year ago

wjhopper commented 1 year ago

This is a proposal to fix #498, which preserves any contrast matrices that the user has set on their explanatory variables by making a copy of the contrast matrices before permuting the data, and then re-attaching the contrast matrices to each variable once the permutations are finished and combined.

simonpcouch commented 1 year ago

Closing, more discussion in #498!

github-actions[bot] commented 1 year ago

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.