Learn R Programming

openintro (version 2.4.0)

ChiSquareTail: Plot upper tail in chi-square distribution

Description

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

Usage

ChiSquareTail(
  U,
  df,
  xlim = c(0, 10),
  col = fadeColor("black", "22"),
  axes = TRUE,
  ...
)

Value

Nothing is returned from the function.

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.

Author

David Diez

See Also

normTail

Examples

Run this code

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

Run the code above in your browser using DataLab