sort | R Documentation |
Changing order of bands based on sorting of band names.
## S3 method for class 'ursaRaster'
sort(x, decreasing = FALSE, ...)
x |
Object of class |
decreasing |
Logical. Should the sort be increasing or decreasing? Not available for partial sorting. Default is |
... |
Other arguments, which are passed to S3 method for sorting characters. |
Function sort()
for ursaRaster
assumes bands reordering based on character band names.
Object of class ursaRaster
Nikita Platonov platonov@sevin.ru
a <- ursa_dummy(nband=7L)
a
sort(a)
sort(a,decreasing=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.