首页 > 解决方案 > 从使用 ggcoefstats 绘图中删除 beta 系数

问题描述

我有一个非常基本的 OLS 回归,我试图弄清楚如何只绘制一个而不是全部的 beta 系数:

outcome <-
  stats::lm(
    formula = result ~ one+two+three+four,
    data = ma
  )

ggcoefstats(
  x = outcome,
  point.args = list(color = "darkgreen", shape = 9),
  title = "Plotting only one"
)

标签: rggplot2

解决方案


推荐阅读