The goal of prinsurf is to construct a principal surface that is
two-dimensional and passes through the middle of a
You can install the development version of prinsurf from GitHub with:
library(devtools)
devtools::install_github("RaeesaGaney91/prinsurf")
This is a basic example on a simulated data set:
library(prinsurf)
surface <- principal.surface(X)
If you encounter any issues or have questions, please open an issue on the GitHub repository.