Description Usage Arguments Details Value
View source: R/geoassignment.R
Constructs a GeoAssignment object.
1 |
x |
a data frame with columns 'geo' (character) and 'geo.group' (integer-valued, positive). 'geo.group' indicates the group (1, 2, ...) the corresponding geo belongs to. Other columns are allowed but not checked. If 'geo' is an integer-valued numeric or factor, it is coerced to character |
The group numbers must be integers (integer-valued numeric are allowed as input), starting with 1. The column 'geo.group' *can* have missing values (NA), unlike 'geo', which must have no missing values, and no duplicates. A missing value in geo.group simply indicates that the mapping from a geo is not available. When associating the geo assignment with a GeoExperimentData object, the effect will be the same as if the geo with 'geo.group'==NA was not in the mapping in the first place.
An object of class 'GeoAssignment'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.