我使用以下代码在R中创建标准正态分布:
x <- seq(-4, 4, length=200) y <- dnorm(x, mean=0, sd=1) plot(x, y, type="l", lwd=2)
我需要在平均值和平均值上下三个标准偏差处标记x轴.我该如何添加这些标签?
r
r ×1