GetRegisterInfo {RandomFields} | R Documentation |
The function returns internal information about the simulation of a random field and the calculation of covariance functions
GetRegisterInfo(register, ignore.active = FALSE, max.elements=10^6, meth=NULL, modelname=NULL) GetModelInfo(register, modelreg, level=3, gatter=FALSE) GetModel(register, modelreg, modus=0)
register |
-2, -1, 0:9; (-1 and -2 only work with |
modelreg |
value in 0..4 with the following meaning:
Positive values refer to the registers, see |
ignore.active |
logical. If |
max.elements |
integer; since |
meth |
vector of strings. If |
modelname |
string. If |
level |
integer; level of details |
modus |
integer; see details |
gatter |
boolean; only for very advanced interests. |
GetRegisterInfo(register, ignore.active=TRUE)
is
useful for debugging and specialists' need to control
the algorithm, see the examples in RFparameters
and GaussRF
.
If RFparameters
()$Storage=FALSE
then values of
the internal registers are not kept if GaussRF
or
DoSimulateRF
has been called.
Hence GetRegisterInfo
cannot
provide any information.
GetModelInfo
returns the complete information on the internal
model structure. It allows for register=-1
returning the
model structure for the last use of CovarianceFct
,
sophisticated models
or Variogram
or similar commands.
register=-2
is for internal use only.
GetModel
returns only the parts of the internal model structure
that have been defined by the user.
The modus
is ignored if PracticalRange=FALSE
in RFparameters
. In case PracticalRange=TRUE
the modus
has the following effects
0the model is returned without the explicite scale transformation
1the model is returned the way it is stored, including the scale transformation
2the scale transformation of the the practical range is included, but a simplified model will be returned
List of internal information is returned.
Put Storing=TRUE
, see RFparameters
if you like to have more
internal information in case of an expected failure of an initialisation of
a random field simulation.
Martin Schlather, martin.schlather@math.uni-goettingen.de http://www.stochastik.math.uni-goettingen.de/~schlather
GaussRF(1:4, grid=TRUE, model="exp", param=c(1,2,3,4), Storing=TRUE) Print(GetRegisterInfo(0)) # finally, a register that could not be successfully initialised try(GaussRF(runif(4), grid=FALSE, model="exp", param=c(1,2,3,4), me="ci", Storing=TRUE)) if (interactive()) Print(GetRegisterInfo(0, TRUE))