Description Usage Arguments Value Note
Returns the geo-to-geo group mapping.
1 2 3 4 5 6 7 8 9 10 | GetGeoGroup(obj, geo = NULL, ...)
## S3 method for class 'GeoAssignment'
GetGeoGroup(obj, geo = NULL, ...)
## S3 method for class 'GeoExperimentData'
GetGeoGroup(obj, geo = NULL, ...)
## S3 method for class 'GeoStrata'
GetGeoGroup(obj, geo = NULL, ...)
|
obj |
an object with the columns 'geo' and 'geo.group'. |
geo |
(character vector or NULL) names of geos for which to obtain the geo group ids. |
... |
other arguments passed on to the methods. |
A named integer-valued vector, with the geo names in the names attribute, mapping geos to geo group ids.
If a specified 'geo' does not exist in the GeoAssignment object, the corresponding geo group will be an NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.