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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/qqplot.t.R

Description

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

Usage

1
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"

Author(s)

Ozgur Asar, Peter J. Diggle

See Also

qqplot

Examples

1
2
3
set.seed(1)
rs <- rt(500, 5)
qqplot.t(rs, 5)

Example output

Loading required package: MASS
Loading required package: nlme
Loading required package: mvtnorm
Loading required package: geoR
--------------------------------------------------------------
 Analysis of Geostatistical Data
 For an Introduction to geoR go to http://www.leg.ufpr.br/geoR
 geoR version 1.7-5.2.1 (built on 2016-05-02) is now loaded
--------------------------------------------------------------

Warning message:
no DISPLAY variable so Tk is not available 

lmenssp documentation built on May 2, 2019, 8:32 a.m.