Hey, R-listers I was recommended to try using smooth.spline function for estimating 2-Dimensinal curve given a data set. So will you please tell me where to get this R function? Or which package provides this function? Thanks for your point. Fred
package:modreg Feng Zhang wrote:> Hey, R-listers > > I was recommended to try using smooth.spline function > for estimating 2-Dimensinal curve given a data set. > > So will you please tell me where to get this R function? > Or which package provides this function? > > Thanks for your point. > > Fred > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >
Can I get a smooth estimated curve as the output argument? For example, if the data set is corrupted by some noise, I want to estimate a smooth curve from the noisy data. ----- Original Message ----- From: "Ko-Kang Kevin Wang" <kwan022 at stat.auckland.ac.nz> To: "Feng Zhang" <f0z6305 at labs.tamu.edu> Cc: "R-Help" <r-help at stat.math.ethz.ch> Sent: Tuesday, April 08, 2003 6:31 PM Subject: Re: [R] Help on smooth.spline?> Have a look at: > > library(modreg) > > ?smooth.spline > > > On Tue, 8 Apr 2003, Feng Zhang wrote: > > > Date: Tue, 8 Apr 2003 17:28:37 -0500 > > From: Feng Zhang <f0z6305 at labs.tamu.edu> > > To: R-Help <r-help at stat.math.ethz.ch> > > Subject: [R] Help on smooth.spline? > > > > Hey, R-listers > > > > I was recommended to try using smooth.spline function > > for estimating 2-Dimensinal curve given a data set. > > > > So will you please tell me where to get this R function? > > Or which package provides this function? > > > > Thanks for your point. > > > > Fred > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > > > -- > Cheers, > > Kevin > > ------------------------------------------------------------------------------> /* Time is the greatest teacher, unfortunately it kills its students */ > > -- > Ko-Kang Kevin Wang > Master of Science (MSc) Student > SLC Tutor and Lab Demonstrator > Department of Statistics > University of Auckland > New Zealand > Homepage: http://www.stat.auckland.ac.nz/~kwan022 > Ph: 373-7599 > x88475 (City) > x88480 (Tamaki) > >
PLEASE!! As if not doing the basic search yourself before posting to R-help wasn't enough, you completely failed to follow the rather explicit answers given to you! When told to RTFM, please do. Andy> -----Original Message----- > From: Feng Zhang [mailto:f0z6305 at labs.tamu.edu] > Sent: Tuesday, April 08, 2003 6:48 PM > To: Ko-Kang Kevin Wang > Cc: R-Help > Subject: Re: [R] Help on smooth.spline? > > > Can I get a smooth estimated curve as the output argument? > For example, if the data set is corrupted by some > noise, I want to estimate a smooth curve from the > noisy data. > > ----- Original Message ----- > From: "Ko-Kang Kevin Wang" <kwan022 at stat.auckland.ac.nz> > To: "Feng Zhang" <f0z6305 at labs.tamu.edu> > Cc: "R-Help" <r-help at stat.math.ethz.ch> > Sent: Tuesday, April 08, 2003 6:31 PM > Subject: Re: [R] Help on smooth.spline? > > > > Have a look at: > > > library(modreg) > > > ?smooth.spline > > > > > > On Tue, 8 Apr 2003, Feng Zhang wrote: > > > > > Date: Tue, 8 Apr 2003 17:28:37 -0500 > > > From: Feng Zhang <f0z6305 at labs.tamu.edu> > > > To: R-Help <r-help at stat.math.ethz.ch> > > > Subject: [R] Help on smooth.spline? > > > > > > Hey, R-listers > > > > > > I was recommended to try using smooth.spline function > > > for estimating 2-Dimensinal curve given a data set. > > > > > > So will you please tell me where to get this R function? > > > Or which package provides this function? > > > > > > Thanks for your point. > > > > > > Fred > > > > > > ______________________________________________ > > > R-help at stat.math.ethz.ch mailing list > > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > > > > > > -- > > Cheers, > > > > Kevin > > > > > -------------------------------------------------------------- > ------------ > ---- > > /* Time is the greatest teacher, unfortunately it kills its > students */ > > > > -- > > Ko-Kang Kevin Wang > > Master of Science (MSc) Student > > SLC Tutor and Lab Demonstrator > > Department of Statistics > > University of Auckland > > New Zealand > > Homepage: http://www.stat.auckland.ac.nz/~kwan022 > > Ph: 373-7599 > > x88475 (City) > > x88480 (Tamaki) > > > > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >------------------------------------------------------------------------------
Have a look at:> library(modreg) > ?smooth.splineOn Tue, 8 Apr 2003, Feng Zhang wrote:> Date: Tue, 8 Apr 2003 17:28:37 -0500 > From: Feng Zhang <f0z6305 at labs.tamu.edu> > To: R-Help <r-help at stat.math.ethz.ch> > Subject: [R] Help on smooth.spline? > > Hey, R-listers > > I was recommended to try using smooth.spline function > for estimating 2-Dimensinal curve given a data set. > > So will you please tell me where to get this R function? > Or which package provides this function? > > Thanks for your point. > > Fred > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Cheers, Kevin ------------------------------------------------------------------------------ /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
Hey, R-listers: Given a one-dimensional sample data set, I want to plot its empirical density function. So with the vector data X, can R provide some function to plot its sample density? Thanks for your attention. Fred