R/modelling_formula.R

Defines functions modelling_formula

modelling_formula <- function(response,dependent_vars){
  return(as.formula(paste(response,"~",paste(dependent_vars,collapse="+"),sep="")))
}
TomfromWales/tomsTools documentation built on May 28, 2019, 7:51 a.m.