snorm: The Normal Distribution

Description Usage Arguments Value See Also Examples

View source: R/norm.R

Description

Descriptive statistics for the normal distribution with mean equal to mean and standard deviation equal to sd.

Usage

1
2
snorm(mean = 0, sd = 1, statistic = c("all", "mean", "median", "sd",
  "var", "skew", "kurt"))

Arguments

mean

mean

sd

standard deviation

statistic

desired descriptive statistic

Value

named numeric vector

See Also

Normal

https://en.wikipedia.org/wiki/Normal_distribution

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
curve(dnorm(x, 0, 0.2), xlim = c(-5, 5))
snorm(0, 0.2)

curve(dnorm(x), xlim = c(-5, 5))
snorm()

curve(dnorm(x, 0, 5), xlim = c(-5, 5))
snorm(0, 5)

curve(dnorm(x, -2, 0.5), xlim = c(-5, 5))
snorm(-2, 0.5)

schuelkem/sdist documentation built on Nov. 5, 2019, 8:45 a.m.