values<- | R Documentation |
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.
values(.Object) <- value
values(.Object)
## S4 replacement method for signature 'webgeom'
values(.Object) <- value
## S4 method for signature 'webgeom'
values(.Object)
.Object |
a webgeom object |
value |
a values |
wg <- webgeom('state::Wisconsin')
values(wg)
values(wg) <- c('Wisconsin','New Hampshire')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.