30  listof

Package stats shipped with R version 4.5.2 (2025-10-31) defines an S3 class 'listof'. Listing 30.1 summarizes the S3 methods for the class 'listof' in the spatstat.* family of packages,

Listing 30.1: S3 methods spatstat.*::*.listof
Code
suppressPackageStartupMessages(library(spatstat))
.S3methods(class = 'listof', all.names = TRUE) |> 
  attr(which = 'info', exact = TRUE) |>
  subset.data.frame(subset = grepl(pattern = '^spatstat\\.', x = from))
#                      visible             from       generic  isS4
# [<-.listof              TRUE    spatstat.geom           [<- FALSE
# as.hyperframe.listof    TRUE    spatstat.geom as.hyperframe FALSE
# as.layered.listof       TRUE    spatstat.geom    as.layered FALSE
# contour.listof          TRUE    spatstat.geom       contour FALSE
# image.listof            TRUE    spatstat.geom         image FALSE
# pairs.listof            TRUE spatstat.explore         pairs FALSE
# plot.listof             TRUE    spatstat.geom          plot FALSE
# summary.listof          TRUE    spatstat.geom       summary FALSE

The examples in Chapter 30

library(groupedHyperframe)
search path & loadedNamespaces on author’s computer
search()
#  [1] ".GlobalEnv"                "package:groupedHyperframe" "package:stats"             "package:graphics"          "package:grDevices"         "package:utils"             "package:datasets"         
#  [8] "package:methods"           "Autoloads"                 "package:base"
loadedNamespaces() |> sort.int()
#  [1] "abind"             "base"              "cli"               "cluster"           "codetools"         "compiler"          "datasets"          "deldir"            "digest"           
# [10] "doParallel"        "dplyr"             "evaluate"          "farver"            "fastmap"           "fastmatrix"        "foreach"           "generics"          "geomtextpath"     
# [19] "GET"               "ggplot2"           "glue"              "goftest"           "graphics"          "grDevices"         "grid"              "gridExtra"         "groupedHyperframe"
# [28] "gtable"            "htmltools"         "htmlwidgets"       "iterators"         "jsonlite"          "knitr"             "lattice"           "lifecycle"         "magrittr"         
# [37] "Matrix"            "matrixStats"       "methods"           "nlme"              "otel"              "parallel"          "patchwork"         "pillar"            "pkgconfig"        
# [46] "polyclip"          "pracma"            "R6"                "RColorBrewer"      "rlang"             "rmarkdown"         "rstudioapi"        "S7"                "scales"           
# [55] "SpatialPack"       "spatstat.data"     "spatstat.explore"  "spatstat.geom"     "spatstat.random"   "spatstat.sparse"   "spatstat.univar"   "spatstat.utils"    "stats"            
# [64] "systemfonts"       "tensor"            "textshaping"       "tibble"            "tidyselect"        "tools"             "utils"             "vctrs"             "viridisLite"      
# [73] "xfun"              "yaml"

Table 30.1 summarizes the S3 methods for the class 'listof' in package groupedHyperframe (v0.3.2.20251225),

Table 30.1: S3 methods groupedHyperframe::*.listof (v0.3.2.20251225)
visible from generic isS4
visualize_vtrapz.listof TRUE groupedHyperframe groupedHyperframe::visualize_vtrapz FALSE

30.1 Cumulative Average Vertical Height of Trapzoidal Integration

The S3 method visualize_vtrapz.listof() (Section 11.2, Table 11.2)

  1. applies the generic function visualize_vtrapz() to each member of the input list;
  2. collages all plots using package patchwork (Pedersen 2025, v1.3.2).

Examples of the S3 method visualize_vtrapz.listof() include cases where the input is,