db.delete {RGeostats}R Documentation

Deletes a vector in a Data Base

Description

Delete the selected vector in the db-class.

Usage

db.delete(db, names=NA)

Arguments

db

Name of the db-class where a vector must be deleted

names

List of names of attributes to be deleted. For more information see db.ident.

Details

Note that deleting a coordinate variable may result in an inconsistent Db. This should be avoided

Value

The db-class where the selected field has been deleted.

See Also

db-class,

Examples

data(Z_data.db) # Load the Documentation Points Db
Z_data.db # Print a short contents of the Db
Z_data.db <- db.delete(Z_data.db,4) # Delete the 4-th field
Z_data.db # Check that the field called 'First Point Variable' has disappeared

# Clean up
rm(Z_data.db)

[Package RGeostats version 11.0.6 Index]