相关疑难解决方法(0)

添加误差线以显示R中绘图的标准偏差

对于每个X值,我计算了每个Y值的平均值Y和标准偏差(sd)

x  = 1:5
y  = c(1.1, 1.5, 2.9, 3.8, 5.2)
sd = c(0.1, 0.3, 0.2, 0.2, 0.4)

plot (x, y)
Run Code Online (Sandbox Code Playgroud)

如何使用标准偏差为我的绘图的每个数据点添加误差线?

statistics plot r standard-deviation errorbar

30
推荐指数
5
解决办法
11万
查看次数

标签 统计

errorbar ×1

plot ×1

r ×1

standard-deviation ×1

statistics ×1