To aggregate the marks of a ppp-related object, e.g.,
ppp.object
a ppplist
the ppp-hypercolumn of a hyperframe
aggregate_marks(x, by, FUN, expr, ..., vectorize = FALSE)# S3 method for ppp
aggregate_marks(x, by, FUN, expr, ..., vectorize = FALSE)
# S3 method for ppplist
aggregate_marks(x, ...)
# S3 method for hyperframe
aggregate_marks(x, ...)
see Usage
additional parameters of the function aggregate.data.frame
expression, only used when markformat.ppp(x) is 'dataframe'
and the parameter by is missing
logical scalar (default value FALSE), whether to convert the return from
The function aggregate.data.frame into a vector
https://tingtingzhan.quarto.pub/groupedhyperframe/topics.html