Parent assignment uses the Z7 or Z3 digit-string hierarchy directly; it
does not perform polygon operations or invoke DGGRID. With fun = NULL,
numeric values use the mean, logical values use a majority rule, and
categorical values use the mode. Summation is always explicit
(fun = sum).
Arguments
- x
A
hex_data()object.- resolution
Target ancestor resolution.
- fun
A summary function or function name.
NULLselects a conservative type-aware default.- na.rm
Whether to remove missing values before aggregation.
- value
Attribute columns to aggregate.
NULLaggregates all columns.