View source: R/normality_test.R
normality_test | R Documentation |
Checks normality of error terms by using Shapiro Wilk's test on each groups' residuals
normality_test( data, alpha = 0.05, groups = "Comparison", bonferroni_correct = FALSE, conservative = TRUE )
data |
A data table or data frame of type LFDT grouped according to |
alpha |
The base significance level of the test. |
groups |
The names of grouping columns in |
bonferroni_correct |
Should we Bonferroni correct the significance level based the number of MS comparisons. Default is |
conservative |
Should the Bonferroni correction be done conservatively that assumes that some of the MS comparisons are dependent? Default is |
A data table with grouping as the first column, LM test statistic as the second column, p-value as the third column, and judgement as the last column
print(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.