draw_n: Draw normal distribution curve

Description Usage Arguments Value Examples

View source: R/draw_n.R

Description

Draw normal distribution curve

Usage

1
draw_n(mean = 0, sd = 1, z = NULL, p = 0.05, alternative = "two.sided")

Arguments

mean

vector of means

sd

vector of standard deviations

z

vector of quantiles

p

vector of probabilities

alternative

a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".

Value

A ggplot

Examples

1
2
3
4
5
6
draw_n()
draw_n(alternative="less")
draw_n(alternative="greater")
draw_n(z=-1.75)
draw_n(z=-1.75,alternative="greater")
draw_n(z=-1.75,alternative="less")

interpretCI documentation built on Jan. 28, 2022, 9:07 a.m.