> In this simple example, it took less than half a second to generate the
> result. That is on a 2.93 Ghz MacBook Pro.
>
>
> So, for your data, the code would look something like this:
>
>
> system.time(DF.new <- do.call(rbind,
> lapply(split(patch_summary,
> patch_summ
On Jul 11, 2009, at 8:42 PM, Jonathan Greenberg wrote:
I'm a bit confused why the following command is taking an
extrodinarily long time (> 2-3 hours) to run on an 3.06ghz iMac
(brand new). I'm trying to do a stratified random sample, drawing
only a single value per UniqueID from the patc
I'm a bit confused why the following command is taking an extrodinarily
long time (> 2-3 hours) to run on an 3.06ghz iMac (brand new). I'm
trying to do a stratified random sample, drawing only a single value per
UniqueID from the patch_summary data frame:
uniqueids <- unique(patch_summary$Uni
3 matches
Mail list logo