a formula of the form lhs ~ rhs where lhs gives the sample values and rhs the corresponding groups.
data
a tibble or data frame containing the variables in the formula formula
method
a character string to select one of the variance homogeneity tests. "Levene": Levene's test, "Bartlett": Bartlett's test, "Fligner": Fligner-Killeen test.
alpha
the level of significance to assess variance homogenity. Default is set to alpha = 0.05.
na.rm
a logical value indicating whether NA values should be stripped before the computation proceeds.
verbose
a logical for printing output to R console.
Value
A list containing the following components:
statistic
the corresponding test statistic.
parameter
the parameter(s) of the approximate corresponding distribution of the test statistic. The corresponding distribution is F distribution for Levene's test, Chi-square disribution for Bartlett's test and Fligner-Killeen test.