对于每个X值,我计算了每个Y值的平均值Y和标准偏差(sd)
X
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)
如何使用标准偏差为我的绘图的每个数据点添加误差线?
statistics plot r standard-deviation errorbar
errorbar ×1
plot ×1
r ×1
standard-deviation ×1
statistics ×1