Displaying 3 results from an estimated 3 matches for "gridtriple".
2010 Mar 29
1
Error "grid must have equal distances in each direction"
...local * sigma
P <- mu+sysvar
write.table(P,"sysv",row.names=F,col.names=F)
I get the following message when I run it for 4096 points and last few
values of the data set appear 0
"different grid distances detected, but the grid must have equal distances
in each direction -- try gridtriple=TRUE that avoids numerical errors."
The program runs fine for less number of points.
I am not able to understand the error. Can anyone please help regarding
this?
Also, the maximum memory for the R software is 1535MBytes [ obtained by
doing memory.limit(size=NA) ]
Sometime I get the out of m...
2010 Sep 01
1
Looks like a bug in subsetting of a complicated object
...s length 99, not 100 as expected.
Code reproducing the problem follows:
library(RandomFields)
set.seed(123)
sim0 <- GaussRF(x=seq(0, 100, by=1),
y=seq(0, 100, by=1),
grid=TRUE, model="spherical",
param=c(0, 1, 0, 10), trend=NULL, n=9, gridtriple=FALSE)
simmatrices <- function(arr) # arr must be an array of rank 3
{
d <- dim(arr)
n1 <- d[1]; n2 <- d[2] # we suppose d[3]==9
res <- vector(length=n1*n2, mode="list")
dim(res) <- c(n1...
2007 May 21
1
size limit in R?
...200.0, 0.025)
>> y <- c(0, 1450.0, 0.025)
>>
>> model <- "stable"
>> scale <- 0.1
>> alpha <- 2
>> mean <- 0
>> variance <- 1.0
>> nugget <- 0
>>
>> f <- GaussRF(x=x, y=y, model=model, grid=TRUE, gridtriple=TRUE,
> + param=c(mean, variance, nugget, scale,alpha))
> Error: cannot allocate vector of size 3625515 Kb
> In addition: Warning messages:
> 1: Reached total allocation of 2560Mb: see help(memory.size)
> 2: Reached total allocation of 2560Mb: see help(memory.size)
&g...