plotChi: Density Function, Distribution Function and/or Quantile...

Description Usage Arguments Value Examples

View source: R/chi.R

Description

plotChi represents density, distribution and/or quantile functions associated with a Chi-squared distribution with df degrees of freedom.

Usage

1
plotChi(df, type = "b", col = "black")

Arguments

df

the degrees of freedom of the Chi-squared distribution.

type

a character string giving the type of desired plot. The following values are possible: "b" (default) for density function, distribution function and quantile function representations together, "dis" for distribution function representation, "den" for density function representation and "q" for quantile function representation.

col

a single colour associated with the different representations; default to "black".

Value

This function is called for the side effect of drawing the plot.

Examples

1
2
3
4
5
6
df=10
plotChi(df)
plotChi(df,col="red")
plotChi(df,type="q")
plotChi(df,type="dis")
plotChi(df,type="den")

LearningStats documentation built on April 21, 2021, 9:06 a.m.