tokone-class {RGeostats} | R Documentation |
This class describes the characteristics of a set of tokens used by the Boolean Simulation method. Each set of tokens is characterized by a number of parameters. Each one of the parameters can be defined either as fixed or randomized: in the latter case, the law and the correspondaing parameters must be defined.
Objects can be created by calls of the form new("tokone", ...)
.
Tokone Definition
type
:Type of the token. The type of token must be chosen among:
Parallelepiped
Lower-half Ellipsoid
Lower-half Sinusoid
Lower-half Paraboloid
Upper-half Ellipsoid
Upper-half Sinusoid
Upper-half Paraboloid
Full Ellipsoid
Full Paraboloid
prop
:Proportion of the token
factor.x2y
:Extension Factor between Y and X
factor.x2z
:Extension Factor between Z and X
factor.y2z
:Extension Factor between Z and Y
law
:Array of laws for each parameter. The type of law must be chosen among:
Constant
Uniform
Gaussian
Exponential
Gamma
Stable
Beta (first kind)
Beta (second kind)
valarg
:Array of 4 values used for randomization of each parameter
tokone$parameter
is used to query the value of parameter
from tokone
:
Same as above but for assignment
showClass("tokone")