Description Usage Arguments Value Examples
Adds the region weights to the pollyvote container.
1 | add_regions(pv, regions, weights = NULL)
|
pv |
[ |
regions |
[ |
weights |
[ |
the pollyvote object with added region weights
1 2 3 | pv = add_regions(pv, c("London", "Yorkshire"), c(0.7, 0.3))
pv = add_regions(pv, c("London", "Yorkshire"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.