db.merge {RGeoS} | R Documentation |
Merge several variables into a new one within a Db
db.merge(db, names = NA, ngrep=NA, radix = NA, modify.target = TRUE)
db |
The |
names |
Vector of names of the attributes to be merged |
ngrep |
Generic name for the attributes. If defined, it overwrites the 'names' argument |
radix |
Radix of the name given to the variable containing the merged values |
modify.target |
When TRUE, the results are set as new target variables in the Db. |
For each sample, the merged result consists in the first defined value among the different attributes to be merged.