https://github.com/cran/RandomFields
Raw File
Tip revision: 47d90f97127137b78e4720ec717e3b56b03a477e authored by Martin Schlather on 06 February 2013, 00:00:00 UTC
version 2.0.65
Tip revision: 47d90f9
multiplicative.R
if (EXTENDED.TESTING <- file.exists("source.R")) source("source.R")

DeleteAllRegisters()
RFparameters(Print=5)
y <- x <- seq(0,10, 0.05)
model <- list("*",
              list("$", var=1, aniso=matrix(nr=2, c(1,0)),
                   list("fractgauss", k=1)),
              list("$",var=1, aniso=matrix(nc=2, c(0,0,0,1)),
                   list("whittle", nu=0.6))
                   )


z <- GaussRF(x, y, model=model, grid=TRUE)
str(GetRegisterInfo(0))
print(range(z))
image(x, y, z)


PrintModelList();
back to top