Closed vincentarelbundock closed 3 months ago
Thanks for reporting. If you search for "multimembership", you find some fixme and Todo comments in the code: https://github.com/search?q=repo%3Aeasystats%2Finsight%20membership%20&type=code
This issue could be related to this, in particular since we have weights.
Let me see if it's easy to fix meanwhile.
library(insight)
load("c:/Users/DL/Desktop/fit.RData")
find_variables(fit)
#> $response
#> [1] "mpg"
#>
#> $conditional
#> [1] "hp"
#>
#> $random
#> [1] "cyl" "carb" "am" "hp" "w"
Created on 2024-03-20 with reprex v2.1.0
sometimes, all.vars()
is just magic ;-)
Unfortunately, I cannot use it for clean_names()
in general, because it splits interaction terms, which is not desired.
base R for the win (yet again)!
Thanks!
Unfortunately, this issue just missed the recent submission (three or four days ago), so this patch won't be on CRAN very soon.
No rush at all. As always, thanks for your great work!
(p.s. you don't need to close these issues, they'll be closed automatically once I merge the PR 😉)
Managing GitHub completely from VScode is really amazing
that's convenient!
mm()
is used for multi-membership grouping terms inbrms
models.insight::find_variables()
sometimes fails with models that include this specification.Example: