Re: [R] merging a list and data frame

2008-10-01 Thread Mark Lyman
eric lee ericlee100 at gmail.com writes: Hi, I'd like to merge the following list and data frame by matching the first column in the data frame to the first number in each object of the list. I'd also like the merged object to be a list. Any suggestions? Thanks. eric a -

[R] merging a list and data frame

2008-09-30 Thread eric lee
Hi, I'd like to merge the following list and data frame by matching the first column in the data frame to the first number in each object of the list. I'd also like the merged object to be a list. Any suggestions? Thanks. eric a - list(c(1,11), c(2,12), c(3,13), c(4,14), c(5,16)) b -