RMmodel
) and returns them as a
list. The user may
specify and group the models according to the following properties:
"positive definite"
,
"variogram"
, etc.)
"kernel"
) or on one argument only ("single variable"
)
See Details
for an explanation and
RMmodelgenerator
for possible states (values) of these properties.
RFgetModelNames(type = RC_TYPENAMES, domain = RC_DOMAIN_NAMES, isotropy = RC_ISONAMES, operator = c(TRUE, FALSE), monotone = RC_MONOTONE_NAMES, implied_monotonicities = length(monotone) == 1, finiterange = c(TRUE, FALSE, NA), valid.in.dim = c(1, Inf), vdim = c(1, 5), group.by, simpleArguments = FALSE, internal, newnames)
RC_TYPENAMES
,
RC_DOMAIN_NAMES
, etc.
See also RMmodelgenerator
.
TRUE
then
all the models with a stronger monotonocity than the required one
are also shown.
NULL
; must be one of
'type'
,
'domain'
, 'isotropy'
, 'operator'
,
'monotone'
,
'finiterange'
,'maxdim'
,'vdim'
.
If group.by
is not given, the result is grouped by
'type'
if more than one type is given.
TRUE
, only models
are considered whose arguments are all integer or real valued.
internal
might be also integer valued.
If any of them are given,
RFgetModelNames
behaves very differently.
See the Notes below.
group.by
is not used;
or a list of vectors of model names if the argument group.by
is
used
(with list elements specified by the categories of the grouping
argument).In case internal
or newnames
is given,
RFgetModelNames
prints a table of the currently
implemented covariance functions and the matching methods.
RFgetModelNames
returns NULL
.
RFgetModelNames()
simply gives back a
vector of
the names of all implemented covariance and variogram models and operators,
i.e. members of the class
RMmodelgenerator
. The following arguments can be specified.
In general, only exact matches are returned. One exception exists:
If the length of type
equals 1 and if group.by
is not
given, then types included in type
are also returned.
E.g. if type="variogram"
and group.by
is not given
then only models are returned that are negative definite.
Howeveralso positive definite functions and tail correlaton
functions are returned if "type"
is included in group.by
.
type
RMmodelgenerator
stationarity
RMmodelgenerator
isotropy
RMmodelgenerator
operator
+
or
RMdelay
are operators; see
RMmodelgenerator
monotone
RMexp
or
RMcauchy
; see
RMmodelgenerator
finiterange
RMcircular
or
RMnugget
have covariances with finite range; see
RMmodelgenerator
.
NA
is used if the finiteness depends on the submodel,
valid.in.dim
valid.in.dim=n
is
passed, all models which are valid in dimension $n$ are
displayed. Otherwise valid.in.dim
should be bivariate vector
giving the range of requested dimensions.
maxdim
maxdim=-1
means that the maximal possible dimension depends
on the parameters of the RMmodel
object;
vdim=-2
means that the maximal possible dimension is
adopted from the called submodels;
see also
RMmodelgenerator
vdim
vdim=-1
means that being multivariate
in a certain dimension depends on the parameters of the
RMmodel
object;
vdim=-2
means that being multivariate
in a certain dimension is adopted from the called submodels;
see also
RMmodelgenerator
If vdim
is bivariate then a range is given.
group.by
group.by="propertyname"
is
passed, the displayed models are grouped according to
propertyname
.
All arguments allow also for vectors of values. In case of
valid.in.dim
the smallest value is taken.
The interpretation is canonical.
Note that the arguments stationarity
, isotropy
,
operator
, monotone
, finiterange
,
maxdim
, vdim
are also slots (attributes) of the SP4-class
RMmodelgenerator
.
RMmodelgenerator
,
RMmodel
,
RandomFields
,
RC_DOMAIN_NAMES, RC_ISONAMES
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
# get list of names of all functions
RFgetModelNames()
# any kind of positive definite functions
RFgetModelNames(type="positive definite")
# get a list of names of all stationary models
RFgetModelNames(type="positive definite", domain="single variable")
# get a vector of all model names
RFgetModelNames(group.by=NULL)
Run the code above in your browser using DataLab