db.delete {RGeoS} | R Documentation |
Delete the selected vector in the db-class
.
db.delete(db, names=NA, ngrep=NA)
db |
Name of the |
names |
Name(s) of the attribute to be deleted |
ngrep |
Generic name for the attributes to be deleted. If defined, it overwrites the 'names' argument |
Note that deleting a coordinate variable may result in an inconsistent Db. This should be avoided
The db-class
where the selected field has been deleted.
data(Example_data.db) # Load the Documentation Points Db Example_data.db # Print a short contents of the Db Example_data.db <- db.delete(Example_data.db,4) # Delete the 4-th field Example_data.db # Check that the field called 'First Point Variable' has disappeared # Clean up rm(Example_data.db)