Description Usage Arguments Value
Compute the normality of a subset of data. The function virtually splits the
data into groups (defined by factor_vars
) and compute the normality of
each group using a shapiro test (see shapiro.test
)
1 | shapirosNormal(df, resp_var, factor_vars)
|
df |
A |
resp_var |
is the name of the response variable |
factor_vars |
a vector with the names of the variables used as factor variables |
A data frame
with several variables:
statistic
is the value of the Shapiro-Wilk statistic
p_value
an approximate p-value for the test. See
shapiro.test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.