We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library(ggeffects) fit <- lm(mpg ~ hp * drat, data = mtcars)
This function returns a named vector
ZZZ <- function(x) { c(A = median(x) - 2, B = median(x) + 2) } ZZZ(rnorm(4)) #> A B #> -1.377492 2.622508
Would be nice if these names were used in the plot’s legend… (:
plot(ggpredict(fit, terms = c("hp", "drat [ZZZ]"))) #> Loading required namespace: ggplot2
Same for a vector
CCC <- c(O = -9, zap = 20) plot(ggpredict(fit, terms = c("hp", "drat [CCC]")))
Created on 2021-07-12 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered:
#229
e7342d5
This one is harder than expected...
Sorry, something went wrong.
No branches or pull requests
This function returns a named vector
Would be nice if these names were used in the plot’s legend… (:
Same for a vector
Created on 2021-07-12 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: