rule.read {RGeostats} | R Documentation |
Read the Lithotype Rule from an ASCII file (RGeostats format)
rule.read(filename)
filename |
Name of the ASCII file containing the information of the Lithotype Rule |
Format of the ASCII file
Mode used for the definition of the Lithotype Rule: 0 (standard); 1 (Shift) or 2 (Shadow)
The correlation coefficient between the two underlying gaussian random functions
The next parameters are only used for the "Shadow" option (although they must be defined anyway):
The slope
The lower truncation value
The upper truncation value
The next parameters are only used for the "Shift" and the "Shadow" options (although they must be defined anyway):
The shifting value along X
The shifting value along Y
The shifting value along Z
The rest of this file contains the definition of the different nodes used to define the Lithotype Rule. We must first define:
The number of subsequent nodes
Per node, we must define:
The type of the parent node
The rank of the parent node
The orientation of the parent node
The node type: 0 (facies); 1 (threshold along Y1) and 2 (threshold along Y2)
The rank of the new node (starting from 1)
The rank of the facies
The newly created Model structure