factor.select.combinations: A helper function to filter a list of combinations

Description Usage Arguments Value Examples

Description

A helper function to filter a list of combinations

Usage

1
factor.select.combinations(combinations, max.factors, min.RI)

Arguments

combinations

A list or a data frame such as those created by factor.allpairs.test

max.factors

An integer

min.RI

A numeric

Value

A modified version of combinations

Examples

1
2
3
4
5
6
list.pairs <- list(c("cyl","factor"),c("vs","factor"),c("am","factor"),
                   c("gear","factor"),c("carb","factor"))
list.combs <- factor.allpairs.test(mtcars,list.pairs,"mpg",TRUE)
factor.select.combinations(list.combs, max.factors = 6, min.RI = 0.4)
df.combs   <- factor.allpairs.test(mtcars,list.pairs,"mpg")
factor.select.combinations(df.combs, max.factors = 6, min.RI = 0.4)

ahdxb/data.exploration documentation built on May 11, 2019, 11:31 p.m.