| shift_drawdown | R Documentation |
Output cell (i,j) takes input cell (i + row_shift,j + col_shift), with indices wrapped around the matrix. Positive shifts move data up/left.
shift_drawdown(x, row_shift = 0, col_shift = 0)
x |
A binary drawdown. |
row_shift, col_shift |
Finite integer offsets; negative offsets allowed. |
An integer matrix of the original dimensions.
shift_drawdown(matrix(c(1, 0, 0, 0), 2), 1, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.