norm.test: Normal Distribution Test

View source: R/norm.test.R

norm.testR Documentation

Normal Distribution Test

Description

Test whether sample is normal distributed.

Usage

norm.test(x, plot = TRUE, dots = 50, verbose = FALSE, pch = 16,
  cex.points = 1, ...)

Arguments

x

a numeric vector.

plot

whether to plot histogram and overlay norm distribution.

dots

the number of dots in plotted normal distribution.

verbose

whether to return expected curve as a data frame containing x and y.

pch

point character.

cex.points

point size.

...

passed to hist.

Value

Test result as htest object.

Note

Shapiro-Wilk test is used, as it seems to be preferred over the traditional G-test and Kolmogorov-Smirnov test.


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.