toolOrderCells: toolOrderCells

Description Usage Arguments Value Author(s)

View source: R/toolOrderCells.R

Description

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.

Usage

1
toolOrderCells(x, dim = 1.2, na.rm = FALSE)

Arguments

x

magclass object that should be ordered

dim

subdimension which contains the cell information

na.rm

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

Value

ordered data in magclass format

Author(s)

Kristine Karstens, Jan Philipp Dietrich


madrat documentation built on Oct. 11, 2021, 9:10 a.m.