Learn R Programming

openintro (version 2.0.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,
  ...
)

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.

See Also

normTail

Examples

Run this code
# NOT RUN {
data(COL)
ChiSquareTail(11.7,
              7,
              c(0, 25),
              col = COL[1])

# }

Run the code above in your browser using DataLab