我这里有一个简单的线性模型:
step1
我可以制作一个使用sjPlot表示它的表:
tab_model(step1)
但是添加标准化的beta值会更改p值的格式:
tab_model(step1,
show.std = T)
是否有办法阻止这种情况的发生?
Daniel提供了解决方案。这是sjPlot中的错误。
使用devtools安装sjPlot起作用:
install_github("strengejacke/sjPlot")
我的权限有问题,所以我还必须更改安装位置:
with_libpaths(new = "C:/Program Files/R/R-3.6.0/library", install_github("strengejacke/sjPlot"))
然后更改默认库:
.libPaths("C:/Program Files/R/R-3.6.0/library")