quadr {CARRoT} | R Documentation |
Function transforms a set of predictors into a set of predictors, their squares and pairwise interactions
quadr(A, n = 1000)
A |
set of predictors |
n |
first |
Returns the predictors including their squares and pairwise interactions
quadr(cbind(1:100,rnorm(100),runif(100),rnorm(100,0,2)))