Description Usage Arguments Value Examples
View source: R/expandFunctions.R
Convert vector x into a matrix X_{ij} = {x_i}^j
1 | ePow(x, colParamVector)
|
x |
Data vector. |
colParamVector |
Vector of column powers. |
A matrix X of size length(x) X length(colParamVector)
X_{ij} = {x_i}^j
1 2 | x <- 1:6
ePow(x,0:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.