search for: issimul

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

Did you mean: simul
2013 Aug 30
0
ddply for comparing simulation results
...0, 2013 at 5:10 AM, jim holtman <jholtman at gmail.com> wrote: >> >> try the 'data.table package. 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...