norm.test | R Documentation |
Test whether sample is normal distributed.
norm.test(x, plot = TRUE, dots = 50, verbose = FALSE, pch = 16,
cex.points = 1, ...)
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
|
pch |
point character. |
cex.points |
point size. |
... |
passed to |
Test result as htest
object.
Shapiro-Wilk test is used, as it seems to be preferred over the traditional G-test and Kolmogorov-Smirnov test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.