rule.create {RGeostats} | R Documentation |
Create a Rule from arguments
rule.create(nodes, mode = "std", rho = 0, slope = 1, sh_down = 0, sh_dsup = 0, shift = c(0, 0, 0))
nodes |
A vector of keywords describing the different nodes. Each keyword should be one of the following:
|
mode |
Type of Lithotype Rule. It should be one of the following:
|
rho |
Correlation between the two underlying gaussian random functions |
slope |
Slope for the Sahdow |
sh_down |
Minimum truncation value (used for Shadow only) |
sh_dsup |
Maximum truncation value (used for Shadow only) |
shift |
Shift between the two underlying gaussian random functions (used for Shift only) |
A rule-class
structure
# Creating a Mono-Gaussian Lithotype Rule with three facies: rule = rule.create(c("S","F1","S","F2","F3")) plot(rule) # Creating a Bi-Gaussian Lithotype Rule with four facies and # a correlation coefficient of 0.1: rule = rule.create(c("S","T","F1","T","F2","F3","F4"),rho=0.1) plot(rule) rm(rule)