vandermode | R Documentation |
The function returns the Vandermode matrix of a numeric vector, x
, whose columns are the vector
raised to the powers 0:n
.
vandermode(x, n)
x |
a numeric vector |
n |
a numeric scalar |
a matrix of size length(x)
x n
vandermode(1:5, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.