Hi,

I'm using RF to simulate a correlated variable with GaussRF

set.seed=1
GaussRF(sim.kfinegrid, grid=F, model="exponential",
param=c(0,0.5,0,0.2))

However when I simulate again using the same random seed I get different
results.

> set.seed=1 
> summary(GaussRF(sim.kfinegrid, grid=F, model="exponential",
param=c(0,0.5,0,0.2)))
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
-2.3110 -0.9726 -0.3831 -0.3048  0.2378  2.0100
> set.seed=1 
> summary(GaussRF(sim.kfinegrid, grid=F, model="exponential",
param=c(0,0.5,0,0.2)))
    Min.  1st Qu.   Median     Mean  3rd Qu.     Max.
-1.83400 -0.33260  0.10340  0.06004  0.47310  1.68300

How can I control the seed with GaussRF ?

Regards

EJ

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to