RMmodel
RFplotModel(x, y, dim=1, n.points=if (dim==1 || is.contour) 200 else 100, fct.type=NULL, MARGIN, fixed.MARGIN, maxchar=15, ..., plotmethod=if (dim==1) "matplot" else "contour")
"plot"(x, y, ...)
"points"(x, ..., type="p")
"lines"(x, ..., type="l")
"image"(x, ..., dim=2)
"persp"(x, ..., dim=2, zlab="")
RFsp
or
RFempVario
or
RFfit
or
RMmodel
; in the latter case, x
can
be any sophisticated model but it must be either stationary or a
variogram modelclass(x)=="RMmodel"
and if
dim > 2
; a vector of length dim
-2 with distance values
for the coordinates that are not displayed'RMmodel'
,
see Details.
class(x)=="RMmodel"
; the
covariance function and the variogram are plotted as a function of
$R^\code{dim}$.class(x)=="RMmodel"
; the
number of points at which the model
evaluated (in each dimension); defaults to 200class(x)=="RMmodel"
; must
equal NULL
, "Cov"
or "Variogram"
; controls
whether the covariance (fct.type="Cov"
) or the
variogram (fct.type="Variogram"
) is plotted; NULL
implies automatic choice, where "Cov"
is chosen whenever the model is
stationarypoints
persp
RFoptions()$split_screen=TRUE
and
RFoptions()$close_screen=TRUE
then
the plot
functions return
the screen
numbers. Else NULL
RMmodelgenerator
call
:name
:submodels
:par.model
:par.general
:var
, scale
, Aniso
and proj
that
can be given for any model; if not specified by the user, the string
"RFdefault"
is insertedsignature(x = "RMmodel")
: allows to sum up
covariance models; internally calls RMplus
.signature(x = "RMmodel")
: allows to substract
covariance models; internally calls R.minus
.signature(x = "RMmodel")
: allows to multiply
covariance models; internally calls R.minus
.signature(x = "RMmodel")
: allows to devide
covariance models; internally calls R.div
.signature(x = "RMmodel")
: concenates
covariance functions or variogram modelssignature(x = "RMmodel")
: gives a plot of the
covariance function or of the variogram model, for more details see
plot-method
.signature(x = "RMmodel")
: adds a covariance plot to
an existing plot, for more details see
plot-method
.signature(x = "RMmodel")
: adds a covariance plot to
an existing plot, for more details see
plot-method
.signature(x = "RMmodel")
: as the usual
str
-method for S4 objects but where only those
entries of the
'par.general'-slot are shown that contain values different from
'RFdefault'
signature(x = "RMmodel")
: returns the structure
of x
signature(x = "RMmodel")
: identical with
show
-method, additional argument is max.level
signature(x = "RMmodel")
: enables accessing
the slots via the "["
-operator, e.g. x["par.general"]
signature(x = "RMmodel")
: enables replacing
the slots via the "["
-operatorsignature(x = "RMmodel", y = "missing")
RFplotModel
immediately.RMmodelgenerator
RMmodel
# see RMmodel for introductory examples
# Compare:
model <- RMexp(scale=2) + RMnugget(var=3)
str(model) ## S4 object as default in version 3 of RandomFields
model <- summary(model)
str(model) ## list style as in version 2 of RandomFields
## see also 'spConform' in 'RFoptions' to make this style
## the default
Run the code above in your browser using DataLab