Learn R Programming

geoknife (version 1.6.11)

values<-: 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 method for webgeom values(.Object) <- value

# S4 method for webgeom values(.Object)

Arguments

.Object

a webgeom object

value

a values

Examples

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

Run the code above in your browser using DataLab