normality2flag.Rd
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.)
#> [1] 2#> [1] 3#> [1] 1