No problem. Glad it worked for you.
Michael
On Mon, Jan 30, 2012 at 12:05 PM, pabears wrote:
> 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...
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
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 wrote:
> didn't seem to quite work:
>
> i tried different subsetting.
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
?lapply
Perhaps (untested):
lapply(listofmatrices, nested, method="binmatnest2")
Michael
On Fri, Jan 27, 2012 at 3:19 PM, pabears wrote:
> hi all.
>
> perhaps someone can help me with subsetting here
>
> i'm trying to use the nested() function in the bipartite package. my
> proble
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
6 matches
Mail list logo