| RFgetModelInfo {RandomFields} | R Documentation |
The function returns internal information about the simulation of a random field and the calculation of covariance functions
RFgetModel(register, explicite.natscale, show.call=FALSE)
RFgetModelInfo(register, level = 1,
spConform = RFoptions()$general$spConform,
which.submodels = c("user", "internal", "both"),
modelname = NULL)
register |
0,...,21 or an evaluating function,
e.g. |
explicite.natscale |
logical. Advanced option.
If missing, then the model is returned as stored.
If |
show.call |
logical. If |
level |
integer [0..5]; level of details, i.e. the higher the
number the more details are given.
If |
spConform |
see |
which.submodels |
Internally, the sub-models are represented in two different ways ‘internal’ and ‘user’. The latter is very close to the model defined by the user. |
modelname |
string. If |
RFgetModelInfo(register, ignore.active=TRUE) is
useful for debugging and specialists' need to control
the algorithm, see the examples in RFoptions
and RFsimulate.
If RFoptions()$Storage=FALSE then values of
the internal registers are not kept if RFsimulate
has been called.
Hence RFgetModelInfo cannot
provide any information.
List of internal information is returned.
Put Storing=TRUE, see RFoptions
if you like to have more
internal information in case of an expected failure of an initialisation of
a random field simulation.
Martin Schlather, schlather@math.uni-mannheim.de http://ms.math.uni-mannheim.de/de/publications/software
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)