.vAttachDatabase {fasterRaster} | R Documentation |
Add a database table to a GRASS attribute table
Description
.vAttachDatabase()
adds a table to a GRASS vector. This table is meant to be "invisible" to most users–they should use interact with attribute tables using the GVector
slot @table
. Some functions require tables (e.g., extract()
and spatSample()
). This function is mostly of use to developers.
Usage
.vAttachDatabase(x, table = NULL, replace = TRUE, cats = NULL)
Arguments
x |
A |
table |
Either
There should be one row/value per geometry in |
replace |
Logical: If |
cats |
Either |
Value
Invisibly returns the sources()
name of a vector in GRASS.