View source: R/shiftDataByCol.R
Column 1 is kept the same, column 2 is shifted upwards by 1 row, column 3 by 2, etc. See https://gist.github.com/kindlychung/757f816f5b2f9e8d36b8#file-shiftdatabycol_example-txt
1 | shiftDataByCol(dat)
|
dat |
The matrix to be shifted. |
The |
shifted matrix. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.