db.sel {RGeostats} | R Documentation |
Define a selection in a Data Base
db.sel(db, ..., selold=NA,namesel=NA, combine="set",flag.replace=FALSE)
db |
The |
... |
String defining the selection. It may specify directly (with no quote) any variable by its name (not its locator). |
selold |
When this name is defined and the corresponding field already exists (selold is searched among the locators first, then among the variable names), this variable is reset as the current selection. This definition mode overrides all others. |
namesel |
Name given to the newly created selection variable, if defined. |
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 this keyword, see |
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. |
If the second argument of db.sel is not provided, the active selection (if any) is discarded.
The db-class
where the selection has been defined