search for: mcolasim7

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

2005 May 19
0
Random/systematic selection of rows in a matrix
...noticed in the output files that the rows in the sample were not any of the rows in the original matrix representing the random field. I show below the function. I believe i am making a programming error due to my inexperience with R. I hope some fo you can show me where the error is. Thanks Ruben mcolasim7<-function(N.sim,pcell){ # Lattice definition x<-seq(1,180,1) y<-seq(1,540,1) #Gaussian process param<-c(6.63,2.24,1.82,4.36) names(param)<-c("beta","sigmasq","tausq","varphi") #Simulations loop - Function GaussRF from package RandomFields for(i...