R/AllGenerics.R, R/methods-utils.R
combnCov.RdFunction for creating combinations of covariates
combnCov(x, ...)
# S4 method for class 'character'
combnCov(x)Returns a character vector of formulae combinations.
combnCov(x = c('a', 'b', 'c'))
#> [1] "~a+b+c" "~b+c" "~a+c" "~c" "~a+b" "~b" "~a"