db.merge {RGeoS}R Documentation

Merge several variables into a new one

Description

Merge several variables into a new one within a Db

Usage

db.merge(db, names = NA, ngrep=NA, radix = NA, modify.target = TRUE)

Arguments

db

The db-class used to read the variables to be merged and where thre resulting variable is stored

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.

Details

For each sample, the merged result consists in the first defined value among the different attributes to be merged.


[Package RGeoS version 9.1.1 Index]