Displaying 1 result from an estimated 1 matches for "temp_species_patch_random_strata".
2009 Jul 12
2
strata -- really slow performance
...ly
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$UniqueID)
uniqueids_stratasize <- c(1:length(uniqueids))*0+1
temp_species_patch_random_strata <-
strata(patch_summary,c("UniqueID"),size=uniqueids_stratasize)
The patch_summary data frame is too big to include in this email, but
I'll give some summary results for the inputs. patch_summary has 48253
rows, UniqueID has 661 levels, and uniqueid_stratasize is a vector if...