pppBy: Hyper Data Frame with One-and-Only-One ppp-Hyper Column

View source: R/pppBy.R

pppByR Documentation

Hyper Data Frame with One-and-Only-One ppp-Hyper Column

Description

To create a hyper data frame with one-and-only-one ppp-hyper column.

Usage

pppBy(
  marks,
  coords = ~x + y,
  by,
  data,
  window = owin(xrange = range(.x), yrange = range(.y)),
  ...
)

Arguments

marks

one-sided formula, e.g., ~ m1+m2, where m_i's are one or more marks

coords

one-sided formula, variable names of the x- and y-coordinates in data. Default value is ~x+y.

by

two-sided formula

data

data.frame

window

observation window owin, default value is the x- and y-span of coords in data.

...

additional parameters of the function ppp

Value

The function pppBy() returns a hyper data frame with one-and-only-one ppp-hyper column.


groupedHyperframe documentation built on June 21, 2026, 5:11 p.m.