View source: R/carrot_functions_rsq.R
cub | R Documentation |
Function transforms a set of predictors into a set of predictors, their squares, pairwise interactions, cubes and three-way interactions
cub(A, n = 1000)
A |
set of predictors |
n |
first |
Returns the predictors including their squares, pairwise interactions, cubes and three-way interactions
cub(cbind(1:100,rnorm(100),runif(100),rnorm(100,0,2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.