RMmodel-class {RandomFields}R Documentation

Class RMmodel

Description

Class for RandomField's representation of explicit covariance models

Creating Objects

Objects are created by calling a function of class RMmodelgenerator

Slots

call:

language object; the function call by which the object was generated

name:

character string; nickname of the model, name of the function by which the object was generated

submodels:

list; contains submodels (if existent)

par.model:

list; conatins model specific arguments

par.general:

list of 4; contains the four standard arguments var, scale, Aniso and proj that can be given for any model; if not specified by the user, the string "RFdefault" is inserted

Methods

+

signature(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.

c

signature(x = "RMmodel"): concenates covariance functions or variogram models

plot

signature(x = "RMmodel"): gives a plot of the covariance function or of the variogram model, for more details see plot-method.

points

signature(x = "RMmodel"): adds a covariance plot to an existing plot, for more details see plot-method.

lines

signature(x = "RMmodel"): adds a covariance plot to an existing plot, for more details see plot-method.

str

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'

show

signature(x = "RMmodel"): returns the structure of x

print

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 "["-operator

Author(s)

Alexander Malinowski Alexander.Malinowski@web.de

See Also

RMmodelgenerator RMmodel

Examples

# 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




[Package RandomFields version 3.0.62 Index]