Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

shapiro.qqnorm

Qqnorm plots with Shapiro-Wilk's test


Description

Quantile-normal plots with Shapiro-Wilk's test result integrated

Usage

shapiro.qqnorm (x, ...)

Arguments

x

A numeric vector

...

Graphical parameters passed to 'par'

Details

To test a variable 'x' against the normal distribution, a qqnorm plot is integrated with the Shapiro-Wilk test to enhance interpretation.

Author(s)

Virasakdi Chongsuvivatwong <cvirasak@medicine.psu.ac.th>

See Also

'shapiro.test', 'qqnorm', 'par'

Examples

x <- rnorm(10)
a <- LETTERS[1:10]
shapiro.qqnorm(x, pch=a, col="red")
qqline(x, lty=2, col="black")

epiDisplay

Epidemiological Data Display Package

v3.5.0.1
GPL (>= 2)
Authors
Virasakdi Chongsuvivatwong <cvirasak@medicine.psu.ac.th>
Initial release
2018-05-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.