Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getNames

Get the name(s) of a spatial object.


Description

Get the name(s) of a spatial object.

Usage

getNames(x, ...)

## S4 method for signature 'ANY'
getNames(x)

## S4 method for signature 'geom'
getNames(x)

## S4 method for signature 'sf'
getNames(x)

## S4 method for signature 'Raster'
getNames(x)

Arguments

x

the object from which to get the name.

...

other arguments.

Value

A vector of the names of x.

See Also

Examples

getNames(x = gtGeoms$grid$continuous)

getNames(x = gtSF$polygon)

getNames(x = gtRasters)

geometr

Generate and Modify Interoperable Geometric Shapes

v0.2.10
GPL-3
Authors
Steffen Ehrmann [aut, cre] (<https://orcid.org/0000-0002-2958-0796>), Dan Sunday [cph] (fast point-in-polygon algorithm.)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.