Learn R Programming

groupedHyperframe (version 0.3.5)

aggregate_marks: aggregate the marks of ppp-Related Object

Description

To aggregate the marks of a ppp-related object, e.g.,

  • ppp.object

  • a ppplist

  • the ppp-hypercolumn of a hyperframe

Usage

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, ...)

Arguments

x

see Usage

by, FUN, ...

additional parameters of the function aggregate.data.frame

expr

expression, only used when markformat.ppp(x) is 'dataframe' and the parameter by is missing

vectorize

logical scalar (default value FALSE), whether to convert the return from The function aggregate.data.frame into a vector

References

https://tingtingzhan.quarto.pub/groupedhyperframe/topics.html