norm.plot: Plot a variable and test for normality

View source: R/norm.plot.r

norm.plotR Documentation

Plot a variable and test for normality

Description

Plot a variable in a qqnorm plot and return the results of a Shapiro-Wilk normality test.

Usage

norm.plot(x)

Arguments

x

a vector of numbers

Value

the results of a Shapiro-Wilk normality test

Examples

x <- rnorm(100)
norm.plot(x)

PDXChris/pmtools documentation built on March 26, 2024, 8:13 a.m.