Re: [R-sig-eco] Stochastic Model Gives Deterministic Output

2010-12-31 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Works for me? occ - c(2,5,3) n1 - nullModel.spsite(occ, iter=5, plots=10) n2 - nullModel.spsite(occ, iter=5, plots=10) n1[,,1] n2[,,1] all(n1[,,1]==n2[,,1]) ## FALSE Can you show an example that doesn't work? (This is with R 2.12.1, but

[R-sig-eco] Stochastic Model Gives Deterministic Output

2010-12-24 Thread Jane Shevtsov
I'm using R 2.10.1 (running on Ubuntu) to implement a simple null model. The model (code below) assigns species to plots by shuffling the numbers 1-# of plots and assigning the species to the first N plots in the resulting vector, where N is the number of plots at which the species was found in