Re: [R] repeat function for entire list of matrices

2012-01-30 Thread pabears
michael, i don't know what happened, i was reading up on ?lapply(), i was up really late, and somehow it didn't seem to take, but i tried it again this morning and it worked like a charm.(sorry about the ellipses, i was just being lazy/unclear). that's great, thanks, this is a great h

Re: [R] repeat function for entire list of matrices

2012-01-30 Thread pabears
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.7

[R] repeat function for entire list of matrices

2012-01-27 Thread pabears
hi all. perhaps someone can help me with subsetting here i'm trying to use the nested() function in the bipartite package. my problem is that i have a list of 10,000 matrices and i want the output to be a vector of the nested() function on each of the 10,000 matrices (so i can use th