Learn R Programming

RandomFields (version 3.1.36)

RFempVariog-class: Class RFempVariog

Description

Class for RandomField's representation of empirical variograms

Usage

RFplotEmpVariogram(x, model = NULL, nmax.phi = NA, nmax.theta = NA, nmax.T = NA, plot.nbin = TRUE, plot.sd=FALSE, method = "ml", variogram=TRUE, boundaries = TRUE, ...) "plot"(x, y, ...) "persp"(x, ...)

Arguments

x
object of class RFempVario
y
unused
model
object of class RMmodel or class(x)=="RFempVario" or class(x)=="RFfit"; a list of covarianve or variogram models that are to be plotted into the same plot as the empirical variogram (and the fitted models)
nmax.phi
integer; only for class(x)=="RFempVario"; the maximal number of bins of angle phi that are to be plotted
nmax.theta
integer; only for class(x)=="RFempVario"; the maximal number of bins of angle theta that are to be plotted
nmax.T
integer; only for class(x)=="RFempVario"; the maximal number of different time bins that are to be plotted
plot.nbin
logical; only for class(x)=="RFempVario"; indicates whether the number of pairs per bin are to be plotted
plot.sd
logical; only for class(x)=="RFempVario"; indicates whether the calculated standard deviation (x@sd) is to be plotted (in form of arrows of length +-1*sd)
method
character. Currently restricted to "ml" for maximum-likelihood method.
variogram
logical; This argument should currently not be set by the user. If TRUE then the empirical variogram is plotted, else an estimate for the covariance function
boundaries
logical; only for class(x)=="RFempVario" and the anisotropic case where model is given. As the empirical variogram is calculated on a sector of angles, no exact variogram curve corresponds to the mean values in this sector. If boundaries=TRUE the values of the variogram on the sector boundaries are plotted. If FALSE some kind of mean model values are plotted. Neither the boundaries may contain the values of emprical variogram nor does the mean values need to be close the emprical variogram.
...
arguments to be passed to methods; mainly graphical arguments.

Slots

Methods

Gives nice plots of the empirical variogram; handles binning in up to three space-dimensions and a time-dimension, where the empirical variogram is plotted along lines which are directed according to the angle-centers given in x@phi.centers and x@theta.centers; arbitrary theoretical model curves can be added to the plot by using the argument model. If no bins are given, i.e. (x@bin=NULL), image-plots are generated.

Details

print returns also an invisible list that is convenient to access.

See Also

RFempiricalvariogram, plot-method

Examples

Run this code
#  see 'RFempiricalvariogram'

Run the code above in your browser using DataLab