[R] RandomFields: Controling seed with GaussRF
Ernesto Jardim
ernesto at ipimar.pt
Tue Dec 28 01:39:15 CET 2004
On Tue, 2004-12-28 at 00:30, Peter Dalgaard wrote:
> Ernesto Jardim <ernesto at ipimar.pt> 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.
>
You're correct ! Sorry. It's a problem of the interface between the
computer and the chair :)
EJ
More information about the R-help
mailing list