[R] repeat function for entire list of matrices
R. Michael Weylandt
michael.weylandt at gmail.com
Mon Jan 30 17:07:40 CET 2012
lapply() takes a function in its second argument, but that is not what
you passed it. Also, there's no such construct in R as "........."
What happens with the code I gave you?
Michael
On Sun, Jan 29, 2012 at 4:28 PM, pabears <danssong at gmail.com> wrote:
> didn't seem to quite work:
>
> i tried different subsetting.....
>
> lapply(nestedseasonlower, nested(nestedseason,.........)
>
> are there any functions that can repeat a function while "counting" each
> iteration of the repeated function? (n=1, n=2, n=3)
>
> thanks
>
> --
> View this message in context: http://r.789695.n4.nabble.com/repeat-function-for-entire-list-of-matrices-tp4334587p4339299.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
More information about the R-help
mailing list