Description Usage Arguments Examples
Select Rows from Matrix by Sequences
1 | selectSequences(mat, from = 1, to = 1, pad = NA)
|
mat |
matrix from which to select |
from |
vector of starting positions |
to |
vector of finishing positions |
pad |
value with which to pad short rows (default NA) |
1 2 3 | ma <- matrix(letters[1:18], nrow = 3, ncol = 6, byrow = TRUE)
selectSequences(mat = ma, from = 1:3, to = 4:6)
selectSequences(mat = ma, from = 1:3, to = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.