reorder numbered spatial units (cells, clusters) by number. Function will return the unmodified object, if the given subdimension does not exist or does not contain cell information.
toolOrderCells(x, dim = 1.2, na.rm = FALSE)
magclass object that should be ordered
subdimension which contains the cell information
boolean deciding how to deal with non-integer information in cellular column. If FALSE, non-integer values will lead to a return of the unsorted object, if TRUE non-integer cells will be removed from the data set and the rest will get sorted
ordered data in magclass format
Kristine Karstens, Jan Philipp Dietrich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.