model.grid {RGeoS}R Documentation

Sample the model on a grid

Description

Sample a model on a grid

Usage

model.grid(model, nx = NA, dx = NA, ivar = 1, jvar = 1, 
	flag.norm = FALSE,as.cov = FALSE)

Arguments

model

This is the model-class structure to be sampled

nx

Vector giving (half of) the number of grid nodes along each axis. If not specified, the grid is created in 2-D with nx=c(10,10).

dx

Vector giving the meshes of the grid along each axis. If absent, the defaulted mesh corresponds to a vector with all components equal to 1.

ivar

Index of the first target field

jvar

Index of the second target field

flag.norm

If TRUE, the variogram is normalized by the variable variance before it is represented

as.cov

If TRUE, the structure is represented as a covariance; otherwise it is represented as a variogram.

Value

The grid containing the sampled model


[Package RGeoS version 9.1.1 Index]