normality2color.Rd
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. |
#> [1] "green"#> [1] "gray"#> [1] "red"