Thanks in advance. Nowadays I just calculate the bandwidth h of cross validation in kernel smoothing using R language. And I just looked up the usage of function, which is lscv(x,......, exact=FALSE) My question is what does "........" stand for and mean? do you mind specifically explaining it for me? Thanks Regards -- View this message in context: http://r.789695.n4.nabble.com/about-lscv-tp4638592.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
Hi, On Tue, Jul 31, 2012 at 4:08 PM, chester123 <chester123 at live.cn> wrote:> Thanks in advance. > > Nowadays I just calculate the bandwidth h of cross validation in kernel > smoothing using R language. > > And I just looked up the usage of function, which is lscv(x,......, > exact=FALSE)Do you mean lscv() from the locfit package? There's no lscv() in base R.> My question is what does "........" stand for and mean? do you mind > specifically explaining it for me?"........" doesn't mean anything. "..." - three dots, or an ellipsis, means exactly what it says in the help: ... other arguments to locfit or lscv.exact If you read the help for locfit() and lscv.exact() you will see the optional arguments that can be passed to lscv by name. The examples given in the help for lscv() even demonstrate how to use that capability. Sarah -- Sarah Goslee http://www.functionaldiversity.org
I should add that it's also explained in more technical detail in 4.1.2 and 4.3 of the R Language Manual. -- Bert On Tue, Jul 31, 2012 at 1:08 PM, chester123 <chester123 at live.cn> wrote:> Thanks in advance. > > Nowadays I just calculate the bandwidth h of cross validation in kernel > smoothing using R language. > > And I just looked up the usage of function, which is lscv(x,......, > exact=FALSE) > > My question is what does "........" stand for and mean? do you mind > specifically explaining it for me? > > Thanks > > Regards > > > > -- > View this message in context: http://r.789695.n4.nabble.com/about-lscv-tp4638592.html > Sent from the R help mailing list archive at Nabble.com. > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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.-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
Forgot to cc the archives, M On Tue, Jul 31, 2012 at 3:27 PM, R. Michael Weylandt <michael.weylandt at gmail.com> wrote:> Well, there aren't quite so many dots -- only 3 I'd imagine. > > It's how R allows variadic functions -- that is, allows "extra" > arguments that don't correspond to named formal arguments. As a side > effect, it also turns off partial matching after the dots. > > See http://cran.r-project.org/doc/manuals/R-intro.html#The-three-dots-argument > for more > > Best, > Michael > > On Tue, Jul 31, 2012 at 3:08 PM, chester123 <chester123 at live.cn> wrote: >> Thanks in advance. >> >> Nowadays I just calculate the bandwidth h of cross validation in kernel >> smoothing using R language. >> >> And I just looked up the usage of function, which is lscv(x,......, >> exact=FALSE) >> >> My question is what does "........" stand for and mean? do you mind >> specifically explaining it for me? >> >> Thanks >> >> Regards >> >> >> >> -- >> View this message in context: http://r.789695.n4.nabble.com/about-lscv-tp4638592.html >> Sent from the R help mailing list archive at Nabble.com. >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list >> 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.