Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`afex_plot` not fully compatible with glmm #65
Comments
|
This should be solved in the development version: You do not even need to pass the extra
However, it still does not print the raw data in the background as the original dv is a factor. |
|
Great, thank! I also managed to plot the data:
|
|
Any chance that the x-axis will not automatically be treated as a factor? Would allow for plotting continuous variables on it? |
|
Unfortunately this is not easily possible. This really requires thinking about and constructing the plot in a very different manner. The reason is that this requires plotting a linear slope or other function, thus completely different geoms, and the usage of I think your best bet here is to use the
|
|
Thanks for the suggestion!
I guess I didn't think about the need to change geoms etc. Though I think it might still be enough to just coerce the x back to continuous via
So for the time being... If I ever need a continuous x-axis, I will use with
|



When fitting a glmm model (either with
lme4::glmeror withafex::mixed), I've found that I cannot useafex_plotto plot the following:emmeans_arg = list(type = "response")), an error is produced.I suspect that I am pushing
afex_plotto its limit, perhaps beyond its intended use.Thanks!