draw.model {RGeostats}R Documentation

Elementary function for representing the model

Description

Elementary function for representing the model

Usage

draw.model(model, vario = NA, ivar = 1, jvar = 1, 
           flag.norm = FALSE, flag.envelop = TRUE, 
	   as.cov = FALSE, xlim = NA, ylim = NA, dirvect = NA, 
	   norder = 0, member = 0, nh = 100, 
	   pch = NA, lty = NA, col = NA, lwd = NA, col0 = 1, lty0 = 2, 
	   add = FALSE, pos.legend = 0, ...)

Arguments

model

The model-class structure containing the parameters of the Model to be represented.

vario

The vario-class structure which gives the calculation directions and extensions. If the vario-class is not defined, the model is drawn along the first direction, from the origin to the unit distance, unless xlim is specified.

ivar

Rank of the first variable (of the pair of variables) for which the simple or cross-variogram must be represented.

jvar

Rank of the second variable (of the pair of variables) for which the simple or cross-variogram must be represented.

flag.norm

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

flag.envelop

if TRUE and if the two variable indices are different, the coregionalization envelop if added to the graphic.

as.cov

If TRUE, the structure is represented as a covariance; otherwise it is represented as a variogram. If an experimental variogram or covariance (argument "vario") is provided, this argument is calculated automatically: TRUE for experimental covariance (or covariogram) and FALSE for experimental variogram.

xlim

An array of two values giving the minimum and maximum values along the horizontal axis

ylim

An array of two values giving the minimum and maximum values along the vertical axis

dirvect

If an experimental variogram is provided, the directions represented correspond to those where the variogram has been calculated. When no experimental variogram is provided, this arguments specifies the directions represented. For more information, refer to get.directions

norder

When equal to 0, this corresponds to the standard variogram. When strictly positive, it corresponds to the order of the Generalized Variogram.

member

Type of model usage. In some cases, the expression of the model can be different when used in the Left-hand side (0) or the Right-hand side (1) of the Kriging system, or for the constant term of the Variance calculation (2). This can be chosen here

nh

Number of discretization points for the model representation.

pch

Array containing the point types (per direction). If the number of items does not match the number of directions, the point type is set to 1.

lty

Array containing the line types (per direction). If the number of items does not match the number of directions, the line type is set to 1.

col

Array containing the line colors (per direction). If the number of items does not match the number of directions, the line color is set to 1.

lwd

Array containing the line widths (per direction). If the number of items does not match the number of directions, the line width is set to 1.

col0

Color of line used for representing the envelop.

lty0

Type of line used for representing the envelop.

add

When FALSE a new page is initialized before the graphic. Otherwise, the graphic is overlayed on the already existing page.

pos.legend

Position of the legend. For more information, see legend.locate.

...

Additional arguments passed to define.scenes, legend.vario or lines.


[Package RGeostats version 11.0.6 Index]