db.selgrid {RGeostats} | R Documentation |
Select data in a Db according to another Grid Db
db.selgrid(db, dbgrid, indmin = NA, indmax = NA, flag.limit = TRUE, verbose = FALSE, combine = "set", flag.replace = TRUE)
db |
The |
dbgrid |
The |
indmin |
Vector giving the indices within the grid, along each dimension, defining the minimum coordinate value in the corresponding direction. An index is numbered from 1 to the number of grid nodes along this direction (if flag.limit=TRUE). If one item of this vector is set to NA, no minimum limitation is applied along this direction. If the whole argument is set to NA, no minimum limitation is applied. |
indmax |
Vector giving the indices within the grid, along each dimension, defining the maximum coordinate value in the corresponding direction. An index is numbered from 1 to the number of grid nodes along this direction (if flag.limit=TRUE). If one item of this vector is set to NA, no maximum limitation is applied along this direction. If the whole argument is set to NA, the vector 'indmax' is set to 'indmin'. |
flag.limit |
When flag.limit=TRUE, each item of the argument indmin (if not equal to NA) is set to a minimum value equal to 1, and each item of the argument indmax (if not equal to NA) is set to a maximum value equal to the number of grid nodes along this direction. |
verbose |
When TRUE, a message gives the minimum and maximum value (if active) along each direction. |
combine |
When a selection already exists, the 'combine' keyword indicates how
the current selection must be combined with the previous one.
For more information on the available keywords, check
|
flag.replace |
When a selection already exists and a new selection is created, the previously existing selection is deleted beforehand if this flag is TRUE. Otherwise a new variable is created. |
The db-class
where the selection has been defined