tokens.create {RGeostats}R Documentation

Create a set of tokens for Boolean simulation

Description

Create a set of tokens for Boolean simulation

Usage

tokens.create(type = 0,
              factor.x2y = 0, factor.x2z = 0, factor.y2z = 0, prop = 1,
              lawX = 0, valX = c(100, 0, 0, 0),
              lawY = 0, valY = c(100, 0, 0, 0),
              lawZ = 0, valZ = c(100, 0, 0, 0),
              lawT = 0, valT = c(0, 0, 0, 0), tokens = NA)

Arguments

type

Type of the token family:

  • 0 Parallelepiped

  • 1 Lower-half Ellipsoid

  • 2 Lower-half Sinusoid

  • 3 Lower-half Paraboloid

  • 4 Upper-half Ellipsoid

  • 5 Upper-half Sinusoid

  • 6 Upper-half Paraboloid

  • 7 Full Ellipsoid

  • 8 Full Paraboloid

factor.x2y

When positive, it describes the link between the X and Y extensions of the token: Y_extend = X_extend * factor.x2y. In that case, the set of parameters used to define Y_extension are ignored.

factor.x2z

When positive, it describes the link between the X and Z extensions of the token: Z_extend = X_extend * factor.x2z. In that case, the set of parameters used to define Z_extension are ignored.

factor.y2z

When positive, it describes the link between the Y and Z extensions of the token: Z_extend = Y_extend * factor.y2z. In that case, the set of parameters used to define Z_extension are ignored.

prop

Proportion of the current family of tokens. This parameter is essential the Tokens description contains several token families. This parameter gives the proportion of the current family type with respect to the whole set of families. If needed, the proportions of each family are rescaled by the sum of proportions.

lawX

Type of randomization for the X_extend parameter.

See Details for more information.

valX

Vector of parameters which characterize the randomization of X_extend parameter.

See Details for more information.

lawY

Type of randomization for the Y_extend parameter.

See Details for more information.

valY

Vector of parameters which characterize the randomization of Y_extend parameter.

See Details for more information.

lawZ

Type of randomization for the Z_extend parameter.

See Details for more information.

valZ

Vector of parameters which characterize the randomization of Z_extend parameter. See Details for more information.

lawT

Type of randomization for the Angle Rotation (around Z) parameter. See Details for more information.

valT

Vector of parameters which characterize the randomization of Angle Rotation (around Z) parameter.

See Details for more information.

tokens

When defined, the current Token definition is concatenated to the one(s) already stored in this argument.

Details

Each parameter can be randomized according to the following convention. Depending on the choice, a set of parameters are necessary: they must be provided in the corresponding val* vector of values refered by their rank:

Value

A tokens-class object.


[Package RGeostats version 14.0.10 Index]