| normality2flag | R Documentation |
normality2flag estimates the normality of a
vector vector x and
returns a discrete flag assessing the normality (normal,
non-normal, don't know).
TODO: allow user-supplied normality test?
normality2flag(x)
x |
a numeric vector to be tested for normality |
a flag of value 1 if normality is not rejected at the 5% level, 2 if normality is rejected at the 5% level, and 3 if normality can't be assesed (not enough data etc.)
Tomas Sieger
dagostinoTest, normality2color
normality2flag(rnorm(30))
normality2flag(rnorm(3))
normality2flag(runif(30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.