Learn R Programming

lmenssp (version 1.2)

qqplot.t: Quantile-quantile plot for univariate t distribution

Description

Calculates empirical quantiles of univariate data and theoretical quantiles of a t distribution with a given degrees-of-freedom

Usage

qqplot.t(x, dof, print = FALSE)

Arguments

x
a vector or column matrix for data
dof
a numerical value for degrees-of-freedom
print
a logical variable, if "print = TRUE" empirical and theoretical quantiles are reported and the user can use them to draw a new plot

Value

a list of output is returned if "print = TRUE"

See Also

qqplot

Examples

Run this code
set.seed(1)
rs <- rt(500, 5)
qqplot.t(rs, 5)

Run the code above in your browser using DataLab