plotTS {LearningStats}R Documentation

Density Function, Distribution Function and/or Quantile Function Representations associated with a T-Student Distribution

Description

plotTS represents density, distribution and/or quantile functions associated with a T-Student distribution with df degrees of freedom.

Usage

plotTS(df, type = "b", col = "black")

Arguments

df

the degrees of freedom of the T-Student 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

df=10
plotTS(df)
plotTS(df,col="red")
plotTS(df,type="q")
plotTS(df,type="dis")
plotTS(df,type="den")

[Package LearningStats version 0.1.0 Index]