Closed wjhopper closed 1 year ago
Closing, more discussion in #498!
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.
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.