Hello All,
Can anyone please help me on this error?
Error in FUN(X[[1L]], ...) :
different grid distances detected, but the grid must have equal distances
in each direction -- try gridtriple=TRUE that avoids numerical errors.
The program that I am trying to run posted in the previous post of
Hello all,
I am trying to create a grid of large number of points 4096*4096, on
processing the data I am writing it into a file.
phi <- 0.5
N <- 4096
mu <- 90
sim<-grf(N*N,grid="reg",cov.model="spherical",cov.pars=c(1,phi),method="RF")
sim$data <- (sim$data - mean(sim$data)) / sd(sim$data)
loc
Hello all,
Thanks for the help. I was able to run the code by removing random seed
statement and putting
set.seed(1)
Sincerely,
Maddy
--
View this message in context:
http://n4.nabble.com/the-error-in-DoSimulateRF-function-tp1592572p1592709.html
Sent from the R help mailing list archive at
Hello Sir,
Thanks for reply.
The SessionInfo() gives the following output,
R version 2.10.1 (2009-12-14)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
reover, on printing the value of .Random.seed I can see the value 1 printed.
Please let me know if you need any more information.
Sincerely,
Maddy
On Sun, Mar 14, 2010 at 1:25 PM, Dieter Menne [via R]
wrote:
> maddy wrote:
> Error in DoSimulateRF(n = n, reg = register, paired = paired
to me.
rm(.Random.seed) does not work in my case.
Can anyone please help me in this?
The only thing I am doing at the starting of the program is initialization
of the variables.
.Random.seed<-1
Also I tried running example programs from geoR package. I get the same
error as previous.
Sincerely,
Mad
6 matches
Mail list logo