search for: interactterms

Displaying 1 result from an estimated 1 matches for "interactterms".

2012 Jan 03
1
returning information from functions via attributes rather than return list
...") stop("Sorry, DV not a single numeric column") ##Build "nc", a vector of variable names that "need centering" ## if (!centerDV) { if (centerOnlyInteractors == FALSE){ nc <- isNumeric[-1] #-1 excludes response unique(nc) }else{ interactTerms <- tl[grep(":", tl)] nc <- unique(unlist(strsplit( interactTerms, ":"))) nc <- nc[which(nc %in% isNumeric)] } }else{ if (centerOnlyInteractors == FALSE){ nc <- isNumeric }else{ interactTerms <- tl[grep(":", tl)]...