You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like the partial_plot function to use non-standard evaluation so the function call doesn't have to use character values. Both for the code to be cleaner and because I want to learn how NSE works.
For example here is how the function currently works:
test_model <- mgcv::gam(mpg ~ s(hp), data = mtcars)
partial_plot(test_model, "hp")
But I'd like it to drop the quotes
partial_plot(test_model, hp)
The text was updated successfully, but these errors were encountered:
I'd like the
partial_plot
function to use non-standard evaluation so the function call doesn't have to use character values. Both for the code to be cleaner and because I want to learn how NSE works.For example here is how the function currently works:
But I'd like it to drop the quotes
The text was updated successfully, but these errors were encountered: