the output of the function depends on the input for
output_type. By default, the output will be the
results of Levene's test in a text format (i.e., character).
Arguments
data
a data object (a data frame or a data.table)
dv_name
name of the dependent variable
iv_1_name
name of the first independent variable
iv_2_name
name of the second independent variable
round_f
number of decimal places to which to round the
F-statistic from Levene's test (default = 2)
round_p
number of decimal places to which to round the
p-value from Levene's test (default = 3)
output_type
If output_type = "text", the output will be
the results of Levene's test in a text format (i.e., character).
If output_type = "list", the output will be the results of
Levene's test in a list format (e.g., p value, F stat, etc. as a list).
By default, output_type = "text"