The function anylist() (v3.7.3, GPL (>= 2)) creates a list of objects of any type, i.e., an R object of S3 class 'anylist', which inherits from the classes 'listof' and 'list' (R version 4.5.3 (2026-03-11)). Listing 15.1 summarizes the S3 methods for the class 'anylist' in the spatstat.* family of packages,
Package groupedHyperframe (v0.4.0, GPL-2) does not implement any S3 method to the class 'anylist'.
Split
Section 15.1 is intended as an educational piece for beginners to R version 4.5.3 (2026-03-11) and package spatstat.geom (v3.7.3, GPL (>= 2)).
Section 15.1 does not discuss the feature of package groupedHyperframe (v0.4.0, GPL-2).
The default method of the S3 generic function split() splits an anylist into a list-of-anylist. This feature is made possible by the magic of the S3 method `[.anylist` (v3.7.3, GPL (>= 2)).
Listing 15.2 splits a spatial-object list (solist, Chapter 39) vesicles.extra (Section 10.25) into a list-of-solist.
Listing 15.3 splits a pixel-image-object list (imlist, Chapter 29) gorillas.extra (Section 10.14) into a list-of-imlist.
Listing 15.4 splits a point-pattern-object list (ppplist, Chapter 37) waterstriders (Section 10.26) into a list-of-ppplist.