prinsurf: Principal Surface Contour Biplots

Fits principal surfaces, the two-dimensional generalisation of the principal curves of Hastie and Stuetzle (1989) <doi:10.1080/01621459.1989.10478797>, and displays them as biplots in which each variable is read off the contour lines of its fitted surface coordinate function. Sample predictivity, the proportion of a sample's squared length that is reconstructed by the fitted surface, is reported as a per-sample diagnostic of how well the surface represents the data.

Version: 2.0
Depends: R (≥ 4.1.0)
Imports: stats, graphics, grDevices
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, biplotEZ
Published: 2026-09-09
DOI: 10.32614/CRAN.package.prinsurf
Author: Raeesa Ganey [aut, cre, cph]
Maintainer: Raeesa Ganey <raeesa.ganey at wits.ac.za>
BugReports: https://github.com/RaeesaGaney91/prinsurf/issues
License: MIT + file LICENSE
URL: https://raeesaganey91.github.io/prinsurf/, https://github.com/RaeesaGaney91/prinsurf
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: prinsurf results

Documentation:

Reference manual: prinsurf.html , prinsurf.pdf
Vignettes: Principal-surface contour biplots (source, R code)

Downloads:

Package source: prinsurf_2.0.tar.gz
Windows binaries: r-devel: prinsurf_2.0.zip, r-release: prinsurf_1.0.zip, r-oldrel: prinsurf_1.0.zip
macOS binaries: r-release (arm64): prinsurf_1.0.tgz, r-oldrel (arm64): prinsurf_2.0.tgz, r-release (x86_64): prinsurf_2.0.tgz, r-oldrel (x86_64): prinsurf_2.0.tgz
Old sources: prinsurf archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=prinsurf to link to this page.