
Last chance! 50% off unlimited learning
Sale ends in
A note to the user about the validity of assumptions for the default linear model.
normality_message(x, lab = NULL, k = 2, output = "message", ...)
A numeric vector.
A character describing label for the variable. If NULL
, a
generic "x"
label will be used.
Number of digits after decimal point (should be an integer)
(Default: k = 2
).
What output is desired: "message"
(default) or "stats"
(or
"tidy"
) objects.
Additional arguments (ignored).
A list with class "htest"
containing the following components:
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
.
the character string "Shapiro-Wilk normality test"
.
a character string giving the name(s) of the data.
Other helper_messages: bartlett_message
,
effsize_ci_message
,
ggcorrmat_matrix_message
,
grouped_message
, pairwise_p
,
palette_message
# NOT RUN {
# message
normality_message(
x = anscombe$x1,
lab = "x1",
k = 3
)
# statistical test object
ggstatsplot::normality_message(
x = anscombe$x2,
output = "tidy"
)
# }
Run the code above in your browser using DataLab