chisqregioncurve: Plot chi-squared distribution and probability region

View source: R/mycontcurve.R

chisqregioncurveR Documentation

Plot chi-squared distribution and probability region

Description

Given df and probability region start and end, plot chi-squared distribution and probability region. From MATH 4753 Lab 6.

Usage

chisqregioncurve(df, from, to, xlim, ylim, col = "Magenta")

Arguments

df

df parameter of chisq distribution

from

start of probability region

to

end of probability region

xlim

vector for the x-axis limits

ylim

vector for the y-axis limits

col

color of the shaded region. default magenta.

Examples

chisqregioncurve(df=2, from=2, to=4, xlim=c(-0.5, 20), ylim=c(0, 0.5), col="Pink")


bbydino/ISSA-ROCK-AND-ROLL documentation built on April 27, 2022, 10:03 p.m.