sw_vers
# ProductName: macOS
# ProductVersion: 26.3
# BuildVersion: 25D1256 About
R terminology may differ from that commonly used in mathematics and statistics. For explanations and references to the terms and abbreviations used in this Quarto book, please refer to Chapter 59.
6.1 Environment
This Quarto book is created under R version 4.5.2 (2025-10-31) with the aid of packages knitr (Xie 2025, v1.51; 2015; 2014), quarto (Allaire and Dervieux 2024, v1.5.1 with Quarto v1.8.27) and rmarkdown (Allaire et al. 2025, v2.30; Xie, Allaire, and Grolemund 2018; Xie, Dervieux, and Riederer 2020). Documentation and check are supported by packages roxygen2 (Wickham, Danenberg, et al. 2025, v7.3.3) and devtools (Wickham, Hester, et al. 2025, v2.4.6). Package(s) sloop (Wickham 2019, v1.0.1) and xfun (Xie 2026, v0.56) are also used in the creation of this book.
An Integrated Development Environment (IDE), e.g., RStudio (Posit Team 2026) or Positron, is not required, but highly recommended.
Sys.info()[c('sysname', 'release', 'machine')]
# sysname release machine
# "Darwin" "25.3.0" "arm64"R.version
# _
# platform aarch64-apple-darwin20
# arch aarch64
# os darwin20
# system aarch64, darwin20
# status
# major 4
# minor 5.2
# year 2025
# month 10
# day 31
# svn rev 88974
# language R
# version.string R version 4.5.2 (2025-10-31)
# nickname [Not] Part in a RumbleReaders are strongly advised to download and install the latest version of R, currently R version 4.5.2 (2025-10-31), for macOS (Listing 6.4) or for Windows (Listing 6.5).
'https://cran.r-project.org/bin/macosx/' |>
knitr::include_url(height = '250px')'https://cran.r-project.org/bin/windows/base/' |>
knitr::include_url(height = '250px')6.2 Enhancement
The author sincerely thanks Prof. Adrian Baddeley for recognizing their submitted suggestions and/or bug reports in
6.2.1 groupedHyperframe
Package groupedHyperframe (v0.3.4) Enhances the spatstat.* family of packages (Baddeley, Rubak, and Turner 2015; Baddeley and Turner 2005).
Package groupedHyperframe Enhances package spatstat.explore (v3.7.0.4) with
- additional
S3methods to function-value-table ('fv', Table 19.1) - new
S3generic functiondensity_marks()(Table 35.6) - new
S3generic functionsEmark_(),Gcross_(),nncross_(), etc. (Table 35.21)
Package groupedHyperframe Enhances package spatstat.geom (v3.7.0.6) with
- new
S3class'groupedHyperframe'(Chapter 1, Section 2.1, Table 24.1) that inherits from the class'hyperframe' - additional
S3methods to point-pattern ('ppp', Table 35.1) - additional
S3methods to point-pattern-list ('ppplist', Table 36.1) - additional
S3methods to tessellation ('tess', Table 41.1) - additional
S3methods to spatial-object-list ('solist', 🚧) - additional
S3methods to the class'anylist'(Table 14.1) - additional
S3methods to hyper data frame ('hyperframe', Table 25.1) - new
S3class'vectorlist'(Table 42.1) that inherits from the class'anylist' - new
S3class'fvlist'(Table 20.1) that inherits from the class'anylist' - new
S3generic functionas.groupedHyperframe()(Table 17.2), etc.
Package groupedHyperframe Enhances package GET (Myllymäki and Mrkvička 2024, v1.0.7) with
- new
S3generic functionrlabelRes()(Table 35.20) - new
S3generic functionglobal_envelope_test_()(Table 14.2)
Package groupedHyperframe Enhances package survival (T. M. Therneau 2026, v3.8.6) with
- additional
S3methods to survival object ('Surv', Table 40.1)
6.2.2 groupedHyperframe.random
Package groupedHyperframe.random (v0.2.2) Enhances the package spatstat.random (v3.4.4).
6.2.3 hyper.gam
Package hyper.gam (v0.2.2) Enhances the package mgcv (Wood 2017, v1.9.4), with
- generalized additive models using a predictor of hypercolumn
6.3 Dependency
These packages all Imports packages
cli(Csárdi 2025, v3.6.5), for attractive command line interfacesdoParallel(v1.0.17) andforeach(v1.5.2) (Microsoft Corporation and Weston 2022a, 2022b) for parallel computing on Windows operating system; andparallelshipped with R version 4.5.2 (2025-10-31) on Unix-like operating systems
Some of these packages Imports or Suggests packages
ggplot2(Wickham 2016, v4.0.2),geomtextpath(Cameron and van den Brand 2025, v0.2.0),htmltools(Cheng et al. 2025, v0.5.9),htmlwidgets(Vaidyanathan et al. 2023, v1.6.4),patchwork(Pedersen 2025, v1.3.2),plotly(Sievert 2020, v4.12.0),scales(Wickham, Pedersen, and Seidel 2025, v1.4.0), for elegant visualizationsknitr(Xie 2025, v1.51; 2015; 2014), for dynamic report generationmethods,splinesshipped with R version 4.5.2 (2025-10-31)
6.3.1 groupedHyperframe
Package groupedHyperframe (v0.3.4) Imports packages
GET(Myllymäki and Mrkvička 2024, v1.0.7)matrixStats(Bengtsson 2025, v1.5.0), for matrix arithmeticpracma(Borchers 2025, v2.4.6), for (cumulative) trapezoidal integration (Chapter 10)SpatialPack(Vallejos, Osorio, and Bevilacqua 2020, v0.4.1), for Tjøstheim (1978)’s coefficient of spatial association (Section 35.12)spatstat.explore(v3.7.0.4),spatstat.geom(v3.7.0.6),spatstat.random(v3.4.4), for spatial statisticssurvival(T. M. Therneau 2026, v3.8.6), for the un-exportedS3methodas.data.frame.Surv(), so that the functionhyperframe()recognizes a survival, or time-to-event,Surv-column in a hyper data frame, instead of treating it as amatrix-hypercolumn.
Package groupedHyperframe Suggests packages
rpart(T. Therneau and Atkinson 2025, v4.1.24), required by the functionrocEngine()(v3.7.0.4)spatstat.data(v3.1.9), for spatial data set examples
6.3.2 groupedHyperframe.random
Package groupedHyperframe.random (v0.2.2) Depends on package
groupedHyperframe(v0.3.4)
Package groupedHyperframe.random Imports packages
MASS(Venables and Ripley 2002, v7.3.65), for the functionmvrnorm()(Chapter 47)spatstat.geom(v3.7.0.6) andspatstat.random(v3.4.4), for operation and simulation of \(x\)- and \(y\)-coordinates and marks of point-patterns
6.3.3 hyper.gam
Package hyper.gam (v0.2.2) Depends on package
groupedHyperframe(v0.3.4)
Package hyper.gam Imports packages
caret(Kuhn 2008, v7.0.1), for \(k\)-fold predictionmgcv(Wood 2017, v1.9.4), for fitting generalized additive modelsnlme(Pinheiro, Bates, and R Core Team 2025, v3.1.168), for theS3generic functionnlme::getData()
Package hyper.gam Suggests packages
spatstat.geom(Baddeley, Rubak, and Turner 2015, v3.7.0.6), forhyperframedata structure
6.3.4 maxEff
Package maxEff (v0.2.2) Depends on package
groupedHyperframe(v0.3.4)
Package maxEff Imports packages
caret(Kuhn 2008, v7.0.1), for data partitionrpart(T. Therneau and Atkinson 2025, v4.1.24), for recursive partitioningspatstat.geom(Baddeley, Rubak, and Turner 2015, v3.7.0.6), forhyperframedata structure
Package maxEff Suggests packages
survival(T. M. Therneau 2026, v3.8.6)
6.4 Function Name Conflict
A function name conflict exists between
spatstat.explore::plot.roc()(Baddeley, Rubak, and Turner 2015, v3.7.0.4)pROC::plot.roc()(Robin et al. 2011, v1.19.0.1)
when loading both packages
groupedHyperframe(v0.3.4), whichImportspackagespatstat.explore(v3.7.0.4)hyper.gam(v0.2.2), whichImportspackagecaret(v7.0.1) whichImportspackagepROC(v1.19.0.1)
This function name clash is potentially hazardous as the S3 classes, both named 'roc', created by functions spatstat.explore::roc() and pROC::roc() are totally different.