plotDistribution(distribution = "normal",
xRange = c(-5, 5),
xColArea = matrix(data = c(-5, -1.96,
1.96, 5),
ncol = 2,
byrow = TRUE),
xAreaCol = c("green", "blue"),
mean = 0,
sd = 1,
yaxt = "n",
ylab = "")
Run the code above in your browser using DataLab