04pallav
9/13/2017 - 9:30 PM

creating formulas in R

creating formulas in R

f <- as.formula(paste('garisktot ~', paste(colnames(HHdata)[20:43], collapse='+')))
modelAllHexSubscales <- lm(f, HHdata)