rep.col | R Documentation |
replicate a column vector into a matrix
## S3 method for class 'col' rep(x, n)
x |
the column vector to be replicated |
n |
replicate the column vector n times |
a matrix of the dimension of length(x)
by n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.