Skip to contents

Draw a chi-squared curve and shade area to the right (probability)

Usage

chisqProb(a, right = TRUE, df = 1, ...)

Arguments

a

Point in question

right

Shade the area to the right? Default is TRUE; otherwise area to the left is shaded

df

Degrees of freedom; default: 1

...

Additional arguments to plot()

Examples

chisqProb(2)

chisqProb(2, right=FALSE)