tab_model函数library(sjPlot) mymodel <- lm(mpg ~ am + gear + hp + wt,data = mtcars) tab_model(mymodel)tab_df函数tab_df(mtcars[1:5,])plot_model函数plot_model(mymodel)
问从sjPlot包中更改plot_model中的版主的值EN如何将社会科学(social sciences) 中常用统计分析结果,如:...
我使用mtcar的数据构建了一个lmer模型,如下所示。问题是,当我使用sjplot::plot_model绘制边际效果图时,我发现图例的顺序颠倒了。预期的顺序是低值在底部,大值在顶部。mdl <- lmer(disp~mpg:wt+vs+(1|cyl) , data = mtcars) sjplot::plot_model(mdl,type = 'pred',terms = c(&quo ...
but frustrating issue. When plotting a predict model, I'm using both he colors argument for bw plots and the legend.title argument to label the legend. The issue is that while the plot is in black and white, there are two legends. One with the title, but with all solid lines. The o...
sjplot包里有一个theme_sjplot()函数,按ggplot的用法plot_model()+theme_sjplot(base_family = "KaiTi"),可以解决作图问题,表格可能同理 2021-02-05 回复1 HopeR 作者 确实不行,我在线上跟作者提了,看看后面会不会有变化。链接见github.com/strengejacke 2020-06-17 回复1展开其他 1 条回复...
Hi, I am trying to make a pred plot but I am getting an error about S4 class. I run a similar model with the same dataset and I used sjp.glmer and it worked. This is my code, both variable that I am including in the plot continuous MD1=l...
GNU R grammar of data manipulation r-cran-ggeffects GNU R create tidy data frames of marginal effects for 'ggplot' r-cran-ggplot2(>= 3.2.0) implementation of the Grammar of Graphics r-cran-insight GNU R easy access to model information for various model objects ...
R语言 无法使用sjPlot的plot_model函数-两个错误@Stefan在GitHub页面上为我找到了答案。我粘贴的步骤,我...
1.如果是RStudio,还要按Shift + F10 1.运行easystats::install_latest()1.运行install.packages(c("...
如果安装了see,sjPlot::plot_model将返回一个多面板图,它在后台使用patchwork,即返回的对象不再是...