Returns a ggplot or plotly object of a normal distribution with a specified significance level
ploterrors(means = 0, sds = 1, alpha = 0.05, direction = intToUtf8("8800"), plotly = FALSE)
means | mean of normal distribution |
---|---|
sds | standard deviation of normal distribution |
alpha | significance level |
direction | direction of alternative hypothesis |
plotly | specifies whether a plotly object is desired |
A ggplot or plotly object, depending on whether the plotly argument was specified TRUE or FALSE.