matrix.fromVector | R Documentation |
Create a matrix from values in a vector repeated for each column / each row. Similar to rowNameMatrix and colNameMatrix.
matrix.fromVector(vector = 1:5, HowManyTimes = 3, IsItARow = TRUE)
vector |
Input vector for rows (number of rows = length), Default: |
HowManyTimes |
Number of columns, Default: |
IsItARow |
Transpose? Swap rows an columns. Default: |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.