search for: simmatrices

Displaying 1 result from an estimated 1 matches for "simmatrices".

Did you mean: bigmatrices
2010 Sep 01
1
Looks like a bug in subsetting of a complicated object
...0 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, n2)...