RFgetModel(register, explicite.natscale, show.call=FALSE)RFgetModelInfo(register, level = 1,
spConform = RFoptions()$general$spConform,
which.submodels = c("user", "internal", "both"),
modelname = NULL)
Registers
in FALSE
then any TRUE
then any FALSE
then the model
is shown as interpreted. If TRUE
then the user's input
including the calling function is returned. See example below.level >= 10
then the leading internal model is also given
(which is, in general, not of interest by the user).modelname
is given then
it returns the first appearance of the
covariance model with name modelname
.
If meth
is given then the model within the method is returned.RFgetModelInfo(register, ignore.active=TRUE)
is
useful for debugging and specialists' need to control
the algorithm, see the examples in ()$Storage=FALSE
then values of
the internal registers are not kept if RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
model <- RMexp(scale=4, var=2) + RMnugget(var=3) + RMtrend(mean=1)
z <- RFsimulate(model, 1:4, storing=TRUE)
RFgetModelInfo(RFsimulate)
RFgetModel(RFsimulate, show.call=FALSE)
RFgetModel(RFsimulate, show.call=TRUE)
FinalizeExample()
Run the code above in your browser using DataLab