draw.vario {RGeostats} | R Documentation |
Elementary function for representing the variogram
draw.vario(x, ivar = 1, jvar = 1, idir0 = 0, xlim=NA, ylim=NA, npairdw = 0, npairpt = 0, flag.norm = FALSE, flag.vars=TRUE, as.cov = FALSE, pch = NA, lty = NA, col = NA, lwd = NA, cex = NA, c0col = 1, c0lwd = 1, c0lty = 2, c0cex = 1, pos = 3, offset = 1, inches=0.025, add = FALSE, digit=NA, varline = TRUE, opt.varname=0, cex.varname=1, pos.varname=c(1,0), pos.legend = 0, ...)
x |
The |
ivar |
The first variable in the pair of variables for which the model must be represented. |
jvar |
The second variable in the pair of variables for which the model must be represented. |
idir0 |
Rank of the direction of interest or 0 for all directions. |
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. |
npairdw |
Representation of each lag by a symbol according to the following choice:
|
npairpt |
Display the number of pairs. The number of pairs is indicated for one out of |
flag.norm |
If TRUE, the variogram is normalized by the variable variance before it is represented. |
flag.vars |
When TRUE, the environment is represented. |
as.cov |
If TRUE, the structure is represented as a covariance; otherwise it is represented as a variogram. |
pch |
Only used when npairpt=TRUE. Array containing the symbol types (per direction). If the number of items does not match the number of directions, the symbol 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. |
cex |
Array containing the symbol size (per direction). If the number of items does not match the number of directions, the symbol size is set to 1. |
c0col |
Color used for the axes |
c0lwd |
Width used for the axes |
c0lty |
Type of the lines used for the axes |
c0cex |
Size of the symbol representing Cij(0) |
pos |
Position of the labels with respect to the symbol representing the variogram lag (only used when npairpt > 0).
|
offset |
When variogram is represented with npairpt > 0, this value gives the offset of the label from the symbol representing the variogram lag (in fractions of a character width). |
inches |
Give the size of the symbol for representing the lag with the largest number of pairs. |
add |
When FALSE a new page is initialized before the graphic. Otherwise, the graphic is overlayed on the already existing page. |
digit |
When specified (and when npairpt>0), the written text (usually the number
of pairs, but more generally the contents of the 'sw' field of the
|
varline |
Horizontal line at the sample variance/covariance level This option is automatically discarded in case of generalized variograms. |
opt.varname |
The name of the variable(s) used for calculating the experimental
(simple or cross) variogram is displayed.
For cross-variograms, the two variables names are separated by the ";"
character.
This option is only available is the names have been registered in the
This option can be set to:
|
cex.varname |
Size of the font used for writing the variable name(s) |
pos.varname |
This argument is used to position the anchor of the variable name(s) to be written. It is provided as an array with two values. Each element may vary between 0 and 1.
The location of the anchor with respect to the contents of the string is calculated as a function of the anchor location:
|
pos.legend |
Position of the legend. For more information, see |
... |
Additional arguments passed to |