Learn R Programming

geoR (version 1.6-35)

names.geodata: Lists names of the key elements of a geodata object

Description

Produces a list with the names of the main elements of geodata object: coords, data, units.m, covariate and realisation. Can be useful to list names before using {subset.geodata}.

Usage

## S3 method for class 'geodata':
names(x)

Arguments

x
an object of the class geodata.

Value

  • A list with
  • coordsnames of the coordinates in the geodata object.
  • dataname(s) of the data elements in the geodata object.
  • units.mreturns the string units.m.
  • covariatesreturn the covariate(s) name(s) if present in the geodata object
  • realisationsreturns the string units.m if present in the geodata object.
  • otherother elements in the geodata object.

See Also

names, subset.geodata, as.geodata.

Examples

Run this code
names(ca20)

Run the code above in your browser using DataLab