# example variables
dep <- "sp"
ind <- c("temp", "rain", "slope")
# The most complex formula according to "type"
get_formulas(dep, ind, type = "lqp", mode = "complex")
# mode = 'light', combinations according to type
get_formulas(dep, ind, type = "lqp", mode = "light")
# mode = 'light', combinations according to type
get_formulas(dep, ind, type = "lqp", mode = "intensive")
Run the code above in your browser using DataLab