db.proportion {RGeostats} | R Documentation |
Compute proportions of a variable of a Db into a Grid Db
db.proportion(db1, dbgrid, nfac1max = NA, nfac2max = NA, radix = "Proportions", modify.target = db.locmod())
db1 |
The |
dbgrid |
The |
nfac1max |
When defined, it defines the maximum value for a sample for the first variable to be considered as valid. If not defined, the number of facies (for the first variable) is defined as the maximum facies value encountered in the file. |
nfac2max |
When defined, it defines the maximum value for a sample for the second variable to be considered as valid. If not defined, the number of facies (for the second variable) is defined as the maximum facies value encountered in the file. |
radix |
Radix of the name given to the variables storing the results in the output Grid Db. |
modify.target |
Decides whether or not the newly created variables will have their
locator defined or not. For more information, see |
When two facies variables are defined in the Input Db, the proportions are calculated for pairs of facies.
The output Grid Db containing the various proportions.