Description Usage Arguments Details Value
Associates the object with a GeoAssignment
object.
Associates the object with a GeoAssignment object, mapping geos into geo group numbers.
1 2 3 4 |
obj |
the object to change. |
... |
further arguments passed to methods. |
value |
a |
strict |
(flag) insist that all geos in the data are mapped? Also, warn if some geos are not found in the data? |
If value
is NULL
, the geo assignment and the treatment
assignment are removed, and their corresponding columns in the data frame
are reset to 'NA'. An error is thrown if any geo in data cannot be mapped to
a group (due to the GeoAssignment
object not having such a mapping).
Setting 'strict' to FALSE
will avert this. An error is thrown if some
of the geos in the mapping were not present in the data. Setting 'strict' to
FALSE
will avert this.
geo.assignment
slot is assigned with the new value and the columns
geo.group
and assignment
are changed to reflect the new geo
assignment.
The object (that has been modified in place).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.