Closed mwm-cbus closed 3 years ago
Hi @mwm-cbus,
We have implemented the fix here. Please download the development version of olsrr from GitHub and try again. Let me know if you run into any issues.
Hi @mwm-cbus,
We have implemented the fix here. Please download the development version of olsrr from GitHub and try again. Let me know if you run into any issues.
Thank you!
It looks great. So I've run not only ols_step_all_possible, but the couple other I'm focusing on, to include
and they all seem to be using the fix.
Thank you, and thanks again for this useful package!!
I think this package is really great,
but there is is a piece of the data access inside it that would work in more cases with an easy improvement :-)
We can't use functions such as
ols_step_all_possible
if we make our linear model in a function rather than key in everything in the same scope
because the ols function tries to reference the data frame variable named in the convenience value $call$data .
This is somewhat similar to an existing issue,
and you already identified the fix with using the real data in [model]$model:
https://github.com/rsquaredacademy/olsrr/issues/158#issuecomment-622481791
Here is a reprex: