db.rule {RGeostats}  R Documentation 
Convert Gaussian variable(s) into Facies through Rule
Description
Convert Gaussian variable(s) into Facies using Rule definition
Usage
db.rule(db, dbprop=NA, rule = rule.input(), model = NA, props = NA,
radix = "Facies", modify.target = db.locmod())
Arguments
db 
The dbclass where the Gaussian variable(s) must exist (Z variable) and where the Facies variable will be created

dbprop 
The dbclass where the proportion variables must be located in the nonstationary case. See details in rule.check .

rule 
The ruleclass structure which defines the Lithotype rule

model 
The modelclass structure containing the Model information for the first underlying gaussian random function. This model must only be provided when the Lithotype Rule refers to a Shadow mode. This information is used for the calculation of the correlation coefficient between the two underlying gaussians.
For any other modes of the Lithotype Rule, this argument is not used.

props 
Array giving the (constant) proportions of the different facies involved in the Lithotype rule. See details in rule.check .

radix 
Radix of the name given to the facies outcome stored in the output Db.

modify.target 
Decides whether or not the newly created variables will have their
locator defined or not. For more information, see db.locmod .

Value
The data Db where the facies transform has been added.
[Package
RGeostats version 11.1.1
Index]