this is an anomonous function definition and .week is just the name of the parameter I chose to use. As with any function definition, you can name the parameters any way you want. In this case I have used the '.' to start the name just to make it apparent that it is a parameter; personal style.
Sent from my iPad On Jan 24, 2014, at 1:54, Bill <william...@gmail.com> wrote: > Dear Jim, > > I am confused by the function > function(.week) > Generally I have not figured it out yet and in particular, why are you using > "dot" week as in > .week > Is there any significance to the dot? > > Thanks, > Bill > > On Wed, Jan 22, 2014 at 10:48 PM, jim holtman <jholt...@gmail.com> wrote: > function(.week) > > [[alternative HTML version deleted]] ______________________________________________ R-help@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.