30  listof

ImportantDisclaimer

These packages (Note 1) are a one-person project undergoing rapid evolution. Backward compatibility (per Hadley Wickham) is provided as a courtesy rather than a guarantee.

Until further notice, these packages should

  • not be used as a basis for research grant applications,
  • not be cited as an actively maintained tool in a peer-reviewed manuscript,
  • not be used to support or fulfill requirements for pursuing an academic degree.

In addition, work primarily based on these packages (Note 1) should not be presented at academic conferences or similar scholarly venues.

Furthermore, a person’s ability to use these packages (Note 1) does not necessarily imply an understanding of their underlying mechanisms. Accordingly, demonstration of their use alone should not be considered sufficient evidence of expertise, nor should it be credited as a basis for academic promotion or advancement.

These statements do not apply to the contributors (Tip 1) to these packages (Note 1) with respect to their specific contributions.

These statements do not apply when the maintainer of these packages (Note 1), Tingting Zhan, is credited as the first author, the lead author, and/or the corresponding author in a peer-reviewed manuscript, or as the Principal Investigator or Co-Principal Investigator in a research grant application and/or a final research progress report.

These statements are advisory in nature and do not modify or restrict the rights granted under the GNU General Public License https://www.r-project.org/Licenses/.

Package stats (R version 4.5.3 (2026-03-11)) 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
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
Note

The examples in Chapter 30

library(groupedHyperframe)

30.1 Cumulative Average Vertical Height of Trapzoidal Integration

The S3 method visualize_vtrapz.listof() (Section 11.3, 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, MIT + file LICENSE).

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