Description Usage Arguments Value See Also Examples
View source: R/CircularShift.R
Pixels that get shifted off one side of the image are put back on the other side.
1 | CircularShift(matrix, colshift = 0, rowshift = 0)
|
matrix |
2-d signal (matrix). |
colshift |
column shift index (integer). |
rowshift |
row shift index (integer). |
result
2-d shifted signal.
1 2 | A <- matrix(1:4, ncol=2, byrow=TRUE)
CircularShift(A, 0, -1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.