Ernesto Jardim <[EMAIL PROTECTED]> writes:

> 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",
....
> How can I control the seed with GaussRF ?

Surely not by assigning values to set.seed - it is a function! 

Look at ?set.seed and pay attention to the Usage: section.


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
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