powered by
A note to the user about the validity of assumptions for the default linear model.
normality_message(x, lab = NULL, k = 3, output = "message")
A numeric vector.
A character describing label for the variable. If NULL, a generic "x" label will be used.
NULL
"x"
Number of decimal places expected for results (Default: 3).
3
What output is desired: "message" (default) or "stats" objects.
"message"
"stats"
A list with class "htest" containing the following components:
"htest"
the value of the Shapiro-Wilk statistic.
an approximate p-value for the test. This is said in Royston (1995) to be adequate for p.value < 0.1.
p.value < 0.1
the character string "Shapiro-Wilk normality test".
"Shapiro-Wilk normality test"
a character string giving the name(s) of the data.
ggbetweenstats
Other helper_messages: bartlett_message
bartlett_message
# NOT RUN { # message normality_message(x = datasets::anscombe$x1) # statistical test object normality_message( x = datasets::anscombe$x2, output = "stats" ) # }
Run the code above in your browser using DataLab