Re: [R] List extraction

From: Pete Brecknock <>
Date: Mon, 28 Mar 2011 19:34:58 -0700 (PDT)

Doesn't use apply but maybe the following will work for you?

temp1<- data.frame(ID=c("Herb","Shrub"),stat=c(4,5),pvalue=c(.03,.04)) temp2<- data.frame(ID=c("Herb","Shrub",

d.f ="rbind",L)
d.f$tableName = substring(rownames(x),1,1)

HTH Pete

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 29 Mar 2011 - 02:37:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Mar 2011 - 03:00:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive