The user's RMmodel is supplemented internally by
operators that are tacitely assumed, e.g. RPgauss.
Further completions of the user's model determine what should be
done with the model, e.g. calculation of the covariance
(RFcov).
The following list gives those RFfunctions that have
an internal represenation as completion to the user's model.
RFcalc
performs some simple calculations
based on R.models
RFcov
assigns to a covariance model the
covariance values
at given locations
RFcovmatrix
assigns to a covariance model the
matrix of covariance values at given locations
RFdistr
generic function
assigning to a distribution family various values of the
distribution
random sample)
RFfctn
assigns to a model the
value of the function at given locations. In case of a covariance
model RFfctn is identical to RFcov.
RFlikelihood
assigns to a model and a dataset the
(log)likelihood value.
RFlinearpart
assigns to a model and a set of
coordinates the linear part of the model, i.e. the deterministic
trend and the design matrix.
RFpseudovariogram
assigns to a model the
values of the pseudo variogram
at given locations
RFsimulate
assigns to a model
a realisation of the corresponding random field
RFvariogram
assigns to a model the
values of the (cross-)variogram
at given locations
Estimation and Inference
RFcrossvalidate
cross validation for Gaussian fields
RFempiricalvariogram
empirical variogram
RFfit
(maximum likelihood) fitting of the parameters
RFinterpolate
'kriging' and 'imputing'
RFratiotest
likelihood ratio test for Gaussian fields
Graphics for Gaussian fields
RFgui
educational tool for
* manual selection of a covariance model
* manual fitting to the empirical variogram
RFfractaldim
determination of the fractal dimension
RFhurst
determination of the Hurst effect (long range dependence)
Coordinate transformations
RFearth2cartesian
transformation of earth coordinates to cartesian coordinates
RFearth2dist
transformation of earth
coordinates to Euclidean distances
Information from and to RandomFields
RFgetMethodNames
currently implemented list of simulation methods
RFgetModel
returns the model used in a RFfunction, with some
more details
RFgetModelInfo
similar to RFgetModel, but with detailed
information on the implementation
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
z <- RFsimulate(model=RMexp(), 1:10)
RFgetModel(RFsimulate, show.call = TRUE) # user's definition
RFgetModel(RFsimulate, show.call = FALSE) # main internal part
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(RandomFields)
Loading required package: sp
Loading required package: RandomFieldsUtils
This is RandomFieldsUtils Version: 0.2.1
This is RandomFields Version: 3.1.16
Attaching package: 'RandomFields'
The following object is masked from 'package:RandomFieldsUtils':
RFoptions
The following objects are masked from 'package:base':
abs, acosh, asin, asinh, atan, atan2, atanh, cos, cosh, exp, expm1,
floor, gamma, lgamma, log, log1p, log2, logb, max, min, round, sin,
sinh, sqrt, tan, tanh, trunc
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/RandomFields/RF.Rd_%03d_medium.png", width=480, height=480)
> ### Name: RFfunction
> ### Title: Evaluation operators (RF commands)
> ### Aliases: RF RFmodel RFmodels RFfunction RFfunctions
> ### Keywords: spatial
>
> ### ** Examples
>
> RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
> ## RFoptions(seed=NA) to make them all random again
>
> z <- RFsimulate(model=RMexp(), 1:10)
NOTE: simulation is performed with fixed random seed 0.
Set 'RFoptions(seed=NA)' to make the seed arbitrary.
New output format of RFsimulate: S4 object of class 'RFsp';
for a bare, but faster array format use 'RFoptions(spConform=FALSE)'.
> RFgetModel(RFsimulate, show.call = TRUE) # user's definition
$ : chr "RFsimulate"
$ checkonly: int 0
$ setseed : chr "R object"
$ env : chr "R environment"
$ phi :List of 1
..$ : chr "RMexp"
> RFgetModel(RFsimulate, show.call = FALSE) # main internal part
$ : chr "RMexp"
>
> ## Don't show:
> FinalizeExample()
> ## End(Don't show)
>
>
>
>
>
> dev.off()
null device
1
>