cshift | R Documentation |
Circulates each dimension of an array. This routine is identical to circshift
, but works with arrays up to 5 dimensions.
cshift(x, s)
x |
vector or array (up to rank 5) |
s |
scalar, if x is a vector, or a vector of length matching the rank of x, if x is an array |
Returns a vector or array of the same shape as x.
Danail Obreschkow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.