Did you search for the princurve package? Sounds like it may be what you want. See https://cran.r-project.org/web/packages/princurve/index.html
Best, MEH Mark E. Hall, PhD Assistant Field Manager Black Rock Field Office Winnemucca District Office 775-623-1529. On Sun, Jan 1, 2017 at 2:56 AM, Neverstop . <nevers...@hotmail.it> wrote: > Hello, > > I need to summarize a three-dimensional dataset through a principal > surface that passes through the middle of the data. Principal surfaces are > non-linear generalization of the plane created by the first two principal > components and provide a non-linear summary of p-dimensional dataset. > Principal surfaces are described in this 1989 article by Hastie and > Stuetzle: https://web.stanford.edu/~hastie/Papers/Principal_Curves.pdf . > They were introduced by Trevor Hastie in his Ph.D dissertation: > http://www.slac.stanford.edu/cgi-wrap/getdoc/slac-r-276.pdf > > I'm looking for a package to fit principal surfaces with R. > I've come across the package princurve created by TrevorHastie, but it > allows to fit principal curves only. How can I fit two-dimensional > principal surfaces in R? > > Thank you. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.