Package: prinsurf 2.0

prinsurf: Principal Surface Biplots
Fits principal surfaces (Hastie and Stuetzle, 1989) and constructs smooth, predictive biplot axes for them by gradient flow: each variable's calibrated axis is the steepest-ascent trajectory of its fitted surface coordinate, which is smooth by construction, crosses the variable's contour lines orthogonally, and reduces to the linear principal-component-analysis biplot axis when the surface is flat. Variables whose fitted value has an interior extremum (closed contours) are detected as non-monotone and the axis is withheld in favour of contour-based reading. The implementation is base-R only.
Authors:
prinsurf_2.0.tar.gz
prinsurf_2.0.zip(r-4.7)prinsurf_2.0.zip(r-4.6)prinsurf_2.0.zip(r-4.5)
prinsurf_2.0.tgz(r-4.6-any)prinsurf_2.0.tgz(r-4.5-any)
prinsurf_2.0.tar.gz(r-4.7-any)prinsurf_2.0.tar.gz(r-4.6-any)
prinsurf_2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
prinsurf/json (API)
| # Install 'prinsurf' in R: |
| install.packages('prinsurf', repos = c('https://raeesaganey91.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/raeesaganey91/prinsurf/issues
Last updated from:190eef98bb. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 176 | ||
| source / vignettes | OK | 196 | ||
| linux-release-x86_64 | WARNING | 130 | ||
| macos-release-arm64 | WARNING | 105 | ||
| macos-oldrel-arm64 | WARNING | 94 | ||
| windows-devel | WARNING | 66 | ||
| windows-release | WARNING | 63 | ||
| windows-oldrel | WARNING | 80 | ||
| wasm-release | OK | 89 |
Exports:axis_predictive_errorkink_maxpredictivityprinsurfpsaxis
Dependencies:
Last update: 2026-07-02
Started: 2026-06-26
Last update: 2026-07-02
Started: 2026-07-02
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Standard predictive error of biplot axes | axis_predictive_error |
| Fitted (reconstructed) values from a principal surface | fitted.prinsurf |
| Maximum turning angle of an axis | kink_max |
| Plot a principal-surface biplot | plot.prinsurf |
| Predict a variable's values from the biplot | predict.prinsurf |
| Sample predictivity of a principal-surface biplot | predictivity |
| Fit a principal surface | prinsurf |
| Gradient-flow biplot axis for one variable | psaxis |
