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
it's impossible to change the color of background data when mapping is set to "color" only. (I would've expected different color of the CI bars and same color of the background points)
Error: 'position_jitterdodge()' requires at least one aesthetic to dodge by
However, adding "linetype" to the mapping removes the error and produces the expected figure.
afex::afex_plot(
model,
dv = "value",
x = "gender",
trace = "treatment",
id = "id",
data_geom = ggplot2::geom_jitter,
mapping = c("color", "linetype"),
error = "model",
data_arg = data_arg
)
Best,
František
The text was updated successfully, but these errors were encountered:
FBartos
changed the title
afex_plot with geom_jitter crashes when "color" is supplied withing data_arg and mapping = "color"
afex_plot with geom_jitter crashes when "color" is supplied within data_arg and mapping = "color"
Jul 9, 2020
Hi Henrik,
it's impossible to change the color of background data when mapping is set to "color" only. (I would've expected different color of the CI bars and same color of the background points)
Error: 'position_jitterdodge()' requires at least one aesthetic to dodge by
However, adding "linetype" to the mapping removes the error and produces the expected figure.
Best,
František
The text was updated successfully, but these errors were encountered: