values: the values of a webgeom

values<-R Documentation

the values of a webgeom

Description

The values of a webgeom are the values of the attributes used in the geometries. For example, if the webgeom's "geom" field is a feature collection containing states and counties, and the "attributes" are the states, then the values would be the specific states.

Usage

values(.Object) <- value

values(.Object)

## S4 replacement method for signature 'webgeom'
values(.Object) <- value

## S4 method for signature 'webgeom'
values(.Object)

Arguments

.Object

a webgeom object

value

a values

Examples

wg <- webgeom('state::Wisconsin')
values(wg)
values(wg) <- c('Wisconsin','New Hampshire')

USGS-R/geoknife documentation built on April 17, 2023, 8:26 p.m.