Edzer,

Am 09.02.2012 17:58, schrieb Edzer Pebesma:


On 02/09/2012 05:02 PM, Etienne B. Racine wrote:
It seems that sampleRandom isn't so random.

# try this :
library(raster)
r<- raster(matrix(1:25, 5, 5))
sampleRandom(r, 25)
## 1 6 11 16 21 2 7 12 17 22 3 8 13 18 23 4 9 14 19 24 5 10 15
sampleRandom(r, 25)
## 1 6 11 16 21 2 7 12 17 22 3 8 13 18 23 4 9 14 19 24 5 10 15

I haven't seen any documentation about this behavior.


Isn't the more important question whether you saw documentation that is
in conflict with this behaviour?

taking that to the extremes: undocumented software always works perfectly.

(By the way I've heard that's the way ESRI did it with their "Geostatistical Analyst")

Sorry for missing the topic of the thread.
Tom



        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


--
Technische Universität München
Department für Pflanzenwissenschaften
Lehrstuhl für Grünlandlehre
Alte Akademie 12
85350 Freising / Germany
Phone: ++49 (0)8161 715324
Fax:   ++49 (0)8161 713243
email: [email protected]
http://www.wzw.tum.de/gruenland

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to