Different Models in RGeostats

D. Renard

7 juillet 2017

Introduction

This file allows descovering the various models implemented in RGeostats.

library(RGeostats)

In the next paragraph, we define the main global parameters.

Note that not all models are available in all cases: there are usage limitation due to space dimension or degree of the Intrinsic Random Function.

  ndim <- 2
  nvar <- 1

The next paragraph consists of a loop on the different models representing each one of them separately in a normalized manner. For those which accept a third parameter, its value is arbitrarily fixed to 1.2.

                                        # List of the authorized structures #
  list    <- melem.name(degree=0)
  nstruct <- length(list)
  param   <- 1.2
  sill    <- 1

                                        # Loop on the authorized structures #
  for (rank in 1:nstruct) {
    vartype  <- list[rank]
    res      <- melem.characteristics(vartype,ndim=ndim)
    if (res$flag.param && param > res$parmax) param = res$parmax
    
    cat("Structure: ",vartype,"\n")
    if (res$flag.range) cat("Range parameter is available\n")
    if (res$flag.param) cat("Third parameter is available\n")
    cat("Structure may be used for degree of IRF >=",res$min.order,"\n")
    cat("Structure may be used for space dimension <=",res$max.ndim,"\n")
    if (res$flag.int.1d)   cat("Integral range is defined in 1-D\n")
    if (res$flag.int.2d)   cat("Integral range is defined in 2-D\n")
    if (res$flag.aniso)    cat("Anisotropy can be defined\n")
    if (res$flag.rotation) cat("Anisotropy rotation can be defined\n")
    if (res$flag.param)    cat("Third parameter must be < ",res$parmax,"\n")
    
    
    model    <- model.create(vartype, param=param, sill=sill) 
    plot(model,title=vartype)
  }
## Structure:  Nugget Effect 
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D

## Structure:  Exponential 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Spherical 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Gaussian 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Cubic 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Cardinal Sine 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  J-Bessel 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  2

## Structure:  K-Bessel 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  1.234e+30

## Structure:  Gamma 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  1.234e+30

## Structure:  Cauchy 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  1.234e+30

## Structure:  Stable 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  2

## Structure:  Linear 
## Range parameter is available
## Structure may be used for degree of IRF >= 0 
## Structure may be used for space dimension <= -1 
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Power 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= 0 
## Structure may be used for space dimension <= -1 
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  1.99

## Structure:  Order-1 GC 
## Range parameter is available
## Structure may be used for degree of IRF >= 0 
## Structure may be used for space dimension <= -1 
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Cosinus 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 1 
## Integral range is defined in 1-D

## Structure:  Triangle 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 1 
## Integral range is defined in 1-D

## Structure:  Cosexp 
## Range parameter is available
## Third parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined
## Third parameter must be <  1.234e+30

## Structure:  Exp2dfact 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Expfact 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= -1 
## Integral range is defined in 1-D
## Integral range is defined in 2-D
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Reg1D 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 1

## Structure:  Pentamodel 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Spline-2 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Storkey 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 1

## Structure:  Wendland1 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Wendland2 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Anisotropy can be defined
## Anisotropy rotation can be defined

## Structure:  Cov-P8 
## Range parameter is available
## Structure may be used for degree of IRF >= -1 
## Structure may be used for space dimension <= 3 
## Anisotropy can be defined
## Anisotropy rotation can be defined