search for: df_lead

Displaying 1 result from an estimated 1 matches for "df_lead".

Did you mean: df_leads
2013 Aug 30
0
ddply for comparing simulation results
...It gives the answer in less than a second. >> >> > # 1 million leads, half of which were simulated, half of which were not >> > id=1:1000000 >> > isSimulated = c(rep(0,500000), rep(1, 500000)) >> > userId=sample(1:100000, 1000000, replace=T) >> > df_leads=data.frame(id, isSimulated, userId) >> > require(data.table) >> Loading required package: data.table >> data.table 1.8.8 For help type: help("data.table") >> > system.time({ >> + df_leads <- data.table(df_leads) >> + df_leads_sum <...