Simulating GRFs

A GRF can be simulated using geoR::grf().

Some arguments:

  • n: the number of points in the simulation.
  • grid: either "reg" (simulate in a regular grid) or "irreg" (simulate in coordinates).
  • xlims, ylims: limits of the area in the x and y directions. Default c(0, 1).
  • cov.model: type of correlation function (e.g. "matern")
  • cov.pars: covariance parameters \(\sigma^2\) and \(\phi\)
  • kappa = smoothness parameter \(\nu\) required by some correlation functions such as "matern". Default is 0.5.