44  xyVector

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 splines (R version 4.5.3 (2026-03-11)) defines an S3 class 'xyVector'. Listing 44.1 summarizes the S3 methods for the class 'xyVector' in package splines,

Listing 44.1: S3 methods splines*::*.xyVector
Code
library('splines')
.S3methods(class = 'xyVector', all.names = TRUE) |> 
  attr(which = 'info', exact = TRUE)
#                        visible                from       generic  isS4
# as.data.frame.xyVector   FALSE registered S3method as.data.frame FALSE
# asVector.xyVector        FALSE registered S3method      asVector FALSE
# plot.xyVector            FALSE registered S3method          plot FALSE
Note

The examples in Chapter 44

library(groupedHyperframe)

44.1 Cumulative Average Vertical Height of Trapzoidal Integration

The S3 method visualize_vtrapz.xyVector() (Section 11.3, Table 11.2) is

  • a simple wrapper of the S3 method visualize_vtrapz.numeric();
  • the workhorse function of the S3 method visualize_vtrapz.spline().

Example(s) of the S3 method visualize_vtrapz.xyVector() are Listing 11.9.