我最近安装了coefplot软件包,用于绘制几个多元回归的置信区间。
但是,我收到致命错误。我按照@jashu列出的所有步骤进行了操作 this post并重新启动了R,但它没有解决我的问题。
我的代码:
coefplot:::buildModelCI(fit) #This works
coefplot(fit) #This causes error and does not plot
我的错误:
Warning: Ignoring unknown aesthetics: xmin, xmax
Error: PositionDodgeV was built with an incompatible version of ggproto.
Please reinstall the package that provides this extension.
答案 0 :(得分:1)
Figured it out:
devtools::install_github("jaredlander/coefplot")
It seems like jaredlander recently updated coefplot, which was causing the error.