Description Usage Arguments Value See Also Examples
Create a matrix by combining multiple copies of a vector as columns
1 | expand(x, n)
|
x |
a vector (data to repeat into |
n |
an integer (number of times to repeat |
a matrix with dimensions length(x), n, with x repeated
in each column
Other utility: aggMatrix,
badRows, cellIdx,
merge.formula, rowProds
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.