Displaying 2 results from an estimated 2 matches for "rfparamet".
Did you mean:
paramet
2004 May 11
1
bad interaction between RandomFields 1.1.11 and Sweave
Not really a bug (I eventually discovered), but ...
When running GaussRF()/DoSimulateRF() with n>1, the default pch="!"
prints backspaces to the terminal, which causes problems (LaTeX barfs) if
you're running this within an Sweave() job. Setting RFparameters(pch="")
fixes the problem.
Could put this in the documentation, but I don't know where you could
put it that it would attract attention -- wouldn't have occurred to me to
look at RFparameters before poking through the code to see where the ^H
was coming from.
I wa...
2010 Aug 19
0
2d kriging with anisotropy on an irregular network (RandomFields Package)
...################################
#CREATION OF AN IRREGULAR RAINGAUGE NETWORK, DATA SIMULATION
##############################################################
model="exponential"
param1 <- c("mean"=Mean,"variance"=Variance,"nugget"=0,"scale"=Range)
RFparameters(PracticalRange=FALSE)
data <- GaussRF(points1, grid=FALSE, model=model,param=param1)
data[which(data<0)]<-0
xPoint <- runif(nbRainG,0,xMax)
yPoint <- runif(nbRainG,0,yMax)
MatCoord<-matrix(0,nr=nbRainG,nc=2)
MatCoord[,1]<-t(xPoint)
MatCoord[,2]<-t(yPoint)
points2<-Mat...