Creates partitions based on partial-moment quadrant centroids. Numeric orders use the compiled recursive partitioner. `order = "max"` returns the maximum observable partition representation without passing an invalid integer to C++.
NNS.part(
x,
y,
Voronoi = FALSE,
type = NULL,
order = NULL,
obs.req = 8,
min.obs.stop = TRUE,
noise.reduction = "off"
)A list containing `order`, `dt`, and `regression.points`.
Numeric vector.
Numeric vector of the same length as x.
Logical; draw the partition map.
NULL or "XONLY".
NULL, a positive integer, or "max".
Nonnegative integer minimum-observation stopping control.
Logical stopping control.
One of "mean", "median", "mode", "mode_class", or "off".