normality2color | R Documentation |
normality2color
estimates the normality of vector
x
and returns a color code representing the result of a
normality test.
normality2color(x, cols = c("green",
"red", "gray"))
x |
a numeric vector |
cols |
a vector of three colors, the first used to represent normality, the second non-normality, and the third undetermined normality. |
Tomas Sieger
normality2flag
, dagostinoTest
normality2color(rnorm(30))
normality2color(rnorm(3))
normality2color(runif(30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.