aggregate_marks: aggregate the marks of ppp-Related Object

View source: R/aggregate_marks.R

aggregate_marksR Documentation

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 class 'ppp'
aggregate_marks(x, by, FUN, expr, ..., vectorize = FALSE)

## S3 method for class 'ppplist'
aggregate_marks(x, ...)

## S3 method for class '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


groupedHyperframe documentation built on March 10, 2026, 5:08 p.m.