search for: stddat

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

2012 Jan 03
1
returning information from functions via attributes rather than return list
...teractTerms, ":"))) nc <- nc[which(nc %in% isNumeric)] nc <- c( names(tmdc)[1] , nc) } } mc <- model$call # run same model call, replacing non centered data with centered data. ## if no need to center factor contrasts: if (!centerContrasts) { stddat <- rdf for (i in nc) stddat[ , i] <- std( stddat[, i]) mc$data <- quote(stddat) }else{ ##dm: design matrix, only includes intercept and predictors dm <- model.matrix(model, data=rdf, contrasts.arg = model$contrasts, xlev = model$xlevels) ##contrastIdx:...