anam.fit {RGeostats}R Documentation

Fit the Anamorphosis parameters

Description

Fit the Anamorphosis parameter

Usage

anam.fit(db, name="z1", type="gaus",
nbpoly = 30, azmin = NA, azmax = NA, aymin = NA, aymax = NA,
ndisc=100, sigma2e=NA, zcut=NA, maf=NA, draw=TRUE,verbose=FALSE,...)

Arguments

db

The db-class to containing the vector for which the Anamorphosis must be fitted

name

Name of the vector containing the data

type

Method used for fitting the gaussian anamorphosis. It may be:

  • undef: if no transformation is performed

  • ext: if the transformation is provided by the user (external functions)

  • gaus: if the Hermitian anamorphosis is used. In this case, the arguments nbpoly, azmin, azmax, aymin and aymax are used.

  • emp: if the empirical anamorphosis is used. In this case, the arguments sigma2e and ndisc are used.

  • dd: if the discrete anamorphosis is used. In this case, the arguments 'zcut' and 'maf' are used.

nbpoly

Number of Hermite polynomials. This parameter is used only for Hermitian anamorphosis.

azmin

Minimum absolute value for Z This parameter is used only for Hermitian anamorphosis.

azmax

Maximum absolute value for Z This parameter is used only for Hermitian anamorphosis.

aymin

Minimum absolute value for Y This parameter is used only for Hermitian anamorphosis.

aymax

Maximum absolute value for Y This parameter is used only for Hermitian anamorphosis.

ndisc

Number of steps used to discretize the range of raw values, This parameter is used only for empirical anamorphosis.

sigma2e

Additional variance. If not provided, this value is calculated as one half of the variance of the data divided by the count of samples. This parameter is used only for empirical anamorphosis.

zcut

When the Discrete Anamorphosis is defined, you must provide a set of cutoffs values (ncut values). The anamorphosis will defined ncut+1 classes. The argument 'maf' is also compulsory.

maf

When the Discrete Anamorphosis (Diffusion or Indicator Residual model) is defined, you must provide the experimental MAF decomposition. It will be used in order to build the discrete anamorphosis, at least in the case of the Diffusion Model.

draw

When switched ON, a figure is produced where the experimental and the modelled anamorphosis functions are overlaid.

verbose

Verbose flag.

...

List of parameters passed to the function anam.plot or cdf.plot.

Value

The anam-class fitted structure


[Package RGeostats version 11.1.1 Index]