homogetest: homogetest

Description Usage Arguments Details Value Examples

Description

Check homogeneity of variances of different groups using several tests

Usage

1
homogetest(resp_var, factores, df)

Arguments

resp_var

is the name of the response variable

factores

a vector with the names of the variables used as factor

df

A dataframe object with a response variable and one or more independent variables

Details

The function computes the Levene's test for homogeneity of variance across groups (leveneTest) and Fligner-Killeen Test of Homogeneity of Variances (fligner.test for each of the variables included in factores vector.

Value

A data frame with several variables:

Examples

1
2
3
4
5
## Not run: 
factores <- c('disturb_year', 'site', 'interaction(disturb_year, site)')
homogetest(resp_var = 'rs', factores = factores, df = evires)

## End(Not run)

ajpelu/auxiliar documentation built on May 3, 2019, 9:04 p.m.