tokens-class {RGeostats}R Documentation

Class "tokens" Tokens Definition

Description

This class contains the definition of a set of tokens to be simulated by the Boolean Simulation method. Each set of tokens is described by its geometry (see tokone-class for more information). Each set of tokens is attached a value which gives the proportion of each set of tokens within the whole population of objects. The proportions of all sets of tokens must add up to 1 (it is automatically normalized if this is not the case).

Objects from the Class

Objects can be created by calls of the form new("tokens", ...). Token Definition

Slots

nbtokens:

Object of class "numeric" Number of tokens

tokones:

Object of class "list" List of sets of tokens (tokone-class)

Methods

[

tokens[i] returns the tokone-class containing the set of tokens i.

[<-

tokens[i]<-value copies the contents of the value into the i-th item of the tokone-class

\$

Returns the number of token families and the total count of parameters

\$<-

Same as above but for assignment

show

tokens.print

print

tokens.print

See Also

Other functions are available, such as:

Examples

showClass("tokens")

[Package RGeostats version 11.1.1 Index]