bound: A numerical vector of length 1, indicating boundary of shaded region on horizontal axis
region: A character string. Possible values are "below" and "above"
df: Degrees of freedom of the chi-square distribution
xlab: Label for the horizontal axis
graph: produce graph?
Returns
Numerical value of area under curve over region. Also plots the chi-square curve with the shaded area.
Examples
#This gives P(X < 6.8) where X is chisq with 3 degrees of freedom:pchisqGC(6.8,df=3,region="below")#This gives P(X >= 6.8), where X is chisq with 3 degrees of freedompchisqGC(6.8,df=3,region="above")