Description Usage Arguments Details Examples
Internal soundgen function
1 | matchColumns(matrix_short, nCol, padWith = 0)
|
matrix_short |
input matrix |
nCol |
the required number of columns |
padWith |
the value to pad with, normally |
Adds columns of zeroes or NA to a matrix (attaching them both left and
right), so that the new number of columns = len
1 2 | a = matrix(1:9, nrow = 3)
soundgen:::matchColumns(a, nCol = 6, padWith = NA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.