Check whether argument 'order' was provided for plot.segmentation and segmap. If not, propose default value.

argcheck_ordering(order, seg.type, order.var)

Arguments

order

TRUE or FALSE depending on whether cluster be ordered

seg.type

types of the segmentation

order.var

name of the variable to order the cluster

Value

a boolean