ChiSquareTail: Plot upper tail in chi-square distribution

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ChiSquareTail.R

Description

Plot a chi-square distribution and shade the upper tail.

Usage

1
2
3
4
5
6
7
8
ChiSquareTail(
  U,
  df,
  xlim = c(0, 10),
  col = fadeColor("black", "22"),
  axes = TRUE,
  ...
)

Arguments

U

Cut off for the upper tail.

df

Degrees of freedom.

xlim

Limits for the plot.

col

Color of the shading.

axes

Whether to plot an x-axis.

...

Currently ignored.

Value

Nothing is returned from the function.

Author(s)

David Diez

See Also

normTail

Examples

1
2
3
4
5
data(COL)
ChiSquareTail(11.7,
              7,
              c(0, 25),
              col = COL[1])

OpenIntroStat/openintro-r-package documentation built on Jan. 22, 2020, 3:23 p.m.