powered by
A note to the user about the validity of assumptions for the default linear model.
bartlett_message(data, x, y, lab = NULL, k = 2, ...)
A dataframe (or a tibble) from which variables specified are to be taken. A matrix or tables will not be accepted.
The grouping variable from the dataframe data.
data
The response (a.k.a. outcome or dependent) variable from the dataframe data.
A character describing label for the variable. If NULL, variable name will be used.
NULL
Number of digits after decimal point (should be an integer) (Default: k = 3).
k = 3
Currently ignored.
A list of class "htest" containing the following components:
"htest"
Bartlett's K-squared test statistic.
the degrees of freedom of the approximate chi-squared distribution of the test statistic.
the p-value of the test.
the character string "Bartlett test of homogeneity of variances".
"Bartlett test of homogeneity of variances"
a character string giving the names of the data.
# NOT RUN { # getting message bartlett_message( data = iris, x = Species, y = Sepal.Length, lab = "Iris Species" ) # }
Run the code above in your browser using DataLab