st: The Student t Distribution

Description Usage Arguments Value See Also Examples

View source: R/t.R

Description

Descriptive statistics for the t distribution with df degrees of freedom.

Usage

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

Arguments

df

degrees of freedom (> 0, maybe non-integer). df = Inf is allowed.

statistic

desired descriptive statistic

Value

named numeric vector

See Also

TDist

https://en.wikipedia.org/wiki/Student's_t-distribution

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
curve(dt(x, 1), xlim = c(-5, 5))
st(1)

curve(dt(x, 2), xlim = c(-5, 5))
st(2)

curve(dt(x, 5), xlim = c(-5, 5))
st(5)

curve(dt(x, Inf), xlim = c(-5, 5))
st(Inf)

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