chisquare_plot: Plot a chi-squared distribution

View source: R/distribution_plots.R

chisquare_plotR Documentation

Plot a chi-squared distribution

Description

Plot a chi-squared distribution

Usage

chisquare_plot(
  df = 2,
  cv = 2,
  tails = "greater",
  limits = c(0, 10),
  color = "steelblue"
)

Arguments

df

degrees of freedom.

cv

the critical value(s) to shade.

tails

whether there are one or two sided tails.

limits

the limits of the plot.

color

the color to fill in the area.

See Also

stats::dchisq()


jbryer/VisualStats documentation built on Feb. 27, 2025, 6:19 p.m.