qqnorm.RV: Normal quantile plot for RVs to answer the question how close...

Description Usage Arguments Examples

View source: R/discreteRV-Probabilities.r

Description

Normal quantile plot for RVs to answer the question how close to normal it is

Usage

1
2
3
4
## S3 method for class 'RV'
qqnorm(y, ..., pch = 16, cex = 0.5, add = FALSE,
  xlab = "Normal Quantiles", ylab = "Random Variable Quantiles",
  tol = 1e-10)

Arguments

y

A random variable

...

Additional arguments to be passed to the "plot" or "points" function

pch

Either an integer specifying a symbol or a single character to be used as the default in plotting points.

cex

A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default.

add

A logical indicating whether to add to an existing plot

xlab

Label for the X axis

ylab

Label for the Y axis

tol

tolerance for the zero probability case

Examples

1
2
fair.die <- RV(1:6, rep(1/6,6))
qqnorm(fair.die)

discreteRV documentation built on May 30, 2017, 2:21 a.m.