Re: [R] binding two lists of lists of dataframes together

2015-05-14 Thread Vin Cheng
Thanks David! Have a good one! > Subject: Re: [R] binding two lists of lists of dataframes together > From: dwinsem...@comcast.net > Date: Thu, 14 May 2015 07:58:43 -0700 > CC: r-help@r-project.org > To: newrnew...@hotmail.com > > > On May 14, 2015, at 7:15 AM, Vi

Re: [R] binding two lists of lists of dataframes together

2015-05-14 Thread David Winsemius
ction(x) setNames( data.frame(x), c("id","WgtBand","Wgt","Held","LID","Issuer","Bid","Offer") ) ) -- David > Thank you again for all the help! It's much ap

Re: [R] binding two lists of lists of dataframes together

2015-05-14 Thread Vin Cheng
t;,"Held","LID","Issuer","Bid","Offer") these would be repeated once for each V1,V2,V3. Thank you again for all the help! It's much appreciated! Vince > Subject: Re: [R] binding two lists of lists of dataframes together > Fro

Re: [R] binding two lists of lists of dataframes together

2015-05-13 Thread David Winsemius
, > c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0), > structure(c(14L, 21L, 23L, 27L, 18L, 18L, 7L, 5L, 23L, 13L, 8L, 10L,5L, 19L, > 25L, 9L, 25L, 21L, 12L, 8L, 1L, 11L), .Label = c("ID1", "ID10", "ID11", > "ID12&

Re: [R] binding two lists of lists of dataframes together

2015-05-13 Thread Vin Cheng
quot;, "ID12", "ID13", "ID14", "ID15", "ID16", "ID17", "ID18", "ID19", "ID2", "ID20", "ID21", "ID22", "ID23", "ID24", "ID25", "ID26", &qu

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread David Winsemius
.. ..$ V2: num [1:20] 1 1 2 3 4 5 6 7 8 9 ... ..$ V3: num [1:20] NaN NaN NA NA NA NA NA NA NA NA ... ..$ V4: num [1:20] 0 0 0 0 0 0 0 0 0 0 ... ..$ V5: Factor w/ 100 levels "ID1","ID10","ID100",..: 43 96 20 62 9 52 59 34 17 64 ... ..$ V6: Factor w/ 100 levels &

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread Vin Cheng
each variable(V1,V2,V3). Sorry for all the back and forth - explaining an exact output over email is difficult. I really appreciate the help and the effort! Thank you again! Vince > Subject: Re: [R] binding two lists of lists of dataframes together > From: dwinsem...@comcast.net

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread David Winsemius
gt;0.050338657, 0.027233401, 0.059885473, 0.03459045, 0.028669191, >0.048294163, 0.040935438, 0.103470278), c(980.5501911, 400.3544693, >385.8629241, 244.6340073, 511.2711809, 294.3073789, 194.2034583, >385.9437059, 308.4324006, 975.9481504), c(0.095125, 0.035114573, &

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread Vin Cheng
.037313829787234, 0.00790114613180516, 0.00945492662473794, 0.0124211711711712, 0.0143091732729332, 0.00934097421203438, 0.0124211711711712, 0.028689111747851), c(0.05231875, 0.015795, 0.0175375, 0.01103, 0.01353, 0.01240875, 0.0113715, 0.01304, 0.005515, 0.05506875 ), c(0.00

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread David Winsemius
On May 12, 2015, at 9:24 AM, Vin Cheng wrote: > list1<-list(structure(list(id = c(493L, 564L, 147L, 83L, 33L, 276L, 402L, > 285L, 30L, 555L), > WgtBand = c(1, 1, 2, 3, 4, 5, 6, 7, 8, 9), > Wgt = c(NaN, NaN, NA, NA, NA, NA, NA, NA, NA, NA)), >

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread Vin Cheng
structure(list(id = c(76L, 330L, 574L, 47L, 131L, 581L, 133L, 69L, 35L, 487L,76L, 330L), WgtBand = c(1, 1, 2, 3, 4,5, 6, 7, 8, 9, 1, 1), Wgt = c(NaN, NaN, NA, NA, NA, NA, NA, NA, NA, NA,NaN, NaN)), .Names = c("id", "WgtBand&

Re: [R] binding two lists of lists of dataframes together

2015-05-12 Thread Vin Cheng
33L, 69L, 35L, 487L,76L, 330L), WgtBand = c(1, 1, 2, 3, 4,5, 6, 7, 8, 9, 1, 1), Wgt = c(NaN, NaN, NA, NA, NA, NA, NA, NA, NA, NA,NaN, NaN)), .Names = c("id", "WgtBand", "Wgt"))) From: newrnew

Re: [R] binding two lists of lists of dataframes together

2015-05-11 Thread Vin Cheng
> From: newrnew...@hotmail.com > To: r-help@r-project.org > Date: Mon, 11 May 2015 20:16:40 + > Subject: [R] binding two lists of lists of dataframes together > > Hi, > I'm new to R and am stumped. I'm trying to bind List 1 to List 2 and have > the

Re: [R] binding two lists of lists of dataframes together

2015-05-11 Thread John Kane
http://adv-r.had.co.nz/Reproducibility.html and please do not post in Html. John Kane Kingston ON Canada > -Original Message- > From: newrnew...@hotmail.com > Sent: Mon, 11 May 2015 20:16:40 + > To: r-help@r-project.org > Subject: [R] binding two lists of list

[R] binding two lists of lists of dataframes together

2015-05-11 Thread Vin Cheng
Hi, I'm new to R and am stumped. I'm trying to bind List 1 to List 2 and have the corresponding Output. I've found the following code - I can't say I understand rbindlist(lapply(list12, "[", i, TRUE)). Either way - it doesn't give exactly what's needed. library(data.table) list12 <- li