[R-sig-Geo] Antw: large datasets processing improving?

Alexander Arpaci alexander.arpaci at boku.ac.at
Tue May 24 22:04:38 CEST 2011


Hello,
sorry I did not correctly posted my code



for (i in 1:dim(wamod_data)[1]) {
d1$perc[i] <- length(d1$normFMI[d1$normFMI>> "Alexander Arpaci"  24.05.11 21.54 Uhr >>>
Hi List

maybe not an truly geo like question 
but an R question I want to calculate percentiles which are ranked by comparing daily values percentiles with the overall distribution percentiles
I have data 1700 files with daily values  from 1960 so about 18000 values/days 
I use the following code which does what I want but it takes about 10 -15 minutes per file...
for (i in 1:17886) {
d1$perc[i] <- length(d1$normFMI[d1$normFMI

MSc. Alexander Arpaci
Assistant researcher

Department of Forest - and Soil Sciences
Institute of Silviculture
Tel. +43-1-47654-4081
e-mail: alexander.arpaci at boku.ac.at
www.wabo.boku.ac.at 

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


MSc. Alexander Arpaci
Assistant researcher

Department of Forest - and Soil Sciences
Institute of Silviculture
Tel. +43-1-47654-4081
e-mail: alexander.arpaci at boku.ac.at
www.wabo.boku.ac.at 



More information about the R-sig-Geo mailing list