model.plot {RGeoS}R Documentation

Model graphic representation

Description

Performs the graphic representation of a model for one or several directions (usually the ones for which some experimental variograms have been computed). It corresponds to the PLOT Method attached to the class model-class.

Usage

model.plot(x, vario=NA, 
        flag.norm=FALSE, flag.vars=TRUE, flag.envelop=TRUE, as.cov=FALSE,
	xlim = NA, ylim = NA, dirvect = NA, norder=0,
	nh = 100, lty=1, col=NA, lwd=2,
	lty0=2, xlab="", ylab="", varcols=NA, varcols2=NA,maxnvar=5, 
	add=FALSE, reset=TRUE,
	...)

Arguments

x

The model-class structure containing the parameters of the Model.

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.

flag.vars

1 if the global statistics must be taken into account for calculating graphic extension

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 mnore 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.

nh

Number of discretization points

flag.norm

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

lty

Type of the line

col

Vector of the line colors. By default col=c(1,2,3,...) For more information, refer to get.one

lwd

Width of the line

lty0

Type of the lines used for the axes

xlab,ylab

Labels for the graphic, arguments used by the Splus function "plot"

varcols

List of the indices of the fields to be represented. If not specified, all the variables from 1 to 'maxnvar' are represented.

varcols2

List of the indices of the fields to be represented (along Y-axis). If not specified, the argument varcols is used instead.

maxnvar

Maximum number of figures to be represented.

add

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

reset

When TRUE, the screen is erased before the model plot is performed.

...

Arguments used by the Splus functions model.plot and legend.line.

See Also

legend.line


[Package RGeoS version 9.1.1 Index]