A Quarto book of R package `groupedHyperframe` (v0.3.1)

> https://tingtingzhan.quarto.pub/groupedhyperframe/

documents

- the creation of grouped hyper data frame;
- the creation of a grouped hyper data frame with one-and-only-one point-pattern hypercolumn;
- the batch process on eligible marks for the one-and-only-one point-pattern hypercolumn in a (grouped) hyper data frame;
- the computation of various summary statistics from one or more function-value-table hypercolumn(s) of a (grouped) hyper data frame;
- the aggregation of summary statistics, over a (nested) grouping structure, in a grouped hyper data frame.

The complete book exceeds the file size limit allowed on CRAN.

# 1 Prerequisite

## 1.1 Environment

Package `groupedHyperframe` (v0.3.1) requires R version 4.5.0 (released 2025-04-11) or higher (macOS, Windows, Linux).

An Integrated Development Environment (IDE), e.g., RStudio (Posit team 2025) or Positron, is not required, but highly recommended.

Environment on author’s computer

    Sys.info()[c('sysname', 'release', 'machine')]
    #  sysname  release  machine
    # "Darwin" "25.1.0"  "arm64"
    R.version
    #                _
    # platform       aarch64-apple-darwin20
    # arch           aarch64
    # os             darwin20
    # system         aarch64, darwin20
    # status
    # major          4
    # minor          5.1
    # year           2025
    # month          06
    # day            13
    # svn rev        88306
    # language       R
    # version.string R version 4.5.1 (2025-06-13)
    # nickname       Great Square Root

## 1.2 Enhancement & Dependency

Package `groupedHyperframe` (v0.3.1) `Enhances` the `spatstat.*` family of packages (Baddeley, Rubak, and Turner 2015; Baddeley and Turner 2005), especially `spatstat.geom` and `spatstat.explore`. Details are provided in the book, Section 7.1.

The dependencies of package `groupedHyperframe` are detailed in the book, Section 7.1.

Package `groupedHyperframe` requires the development versions of the `spatstat.*` family of packages. Installation instructions are provided in the book, Section 7.1.

## 1.3 Installation

Package `groupedHyperframe` (v0.3.1) can be installed using the following command.

    utils::install.packages('groupedHyperframe')

# 2 Acknowledgement

This work is supported by National Institutes of Health, U.S. Department of Health and Human Services grants

- R01CA222847 (I. Chervoneva, T. Zhan, and H. Rui)
- R01CA253977 (H. Rui and I. Chervoneva).

# 3 References

Baddeley, Adrian, Ege Rubak, and Rolf Turner. 2015. Spatial Point Patterns: Methodology and Applications with R. London: Chapman; Hall/CRC Press. https://www.routledge.com/Spatial-Point-Patterns-Methodology-and-Applications-with-R/Baddeley-Rubak-Turner/p/book/9781482210200/.
Baddeley, Adrian, and Rolf Turner. 2005. “spatstat: An R Package for Analyzing Spatial Point Patterns.” Journal of Statistical Software 12 (6): 1–42. https://doi.org/10.18637/jss.v012.i06.
Posit team. 2025. RStudio: Integrated Development Environment for R. Boston, MA: Posit Software, PBC. https://posit.co/.