Skip to contents

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

Author

David Diez

Examples


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