Description Usage Arguments Details Note Author(s) See Also Examples
This is a simple wrapper that reads in shape files and creates an ordinary plot. The displayed map will show the intensity of support for each canton.
1 |
x |
The output object from |
colors.m |
Vector of colors to be used in increasing order. If the user does not supply any colors, the plot will use a default option (from red to green). |
threshold |
Vector. By default the map breaks support in ten equal-sized intervals. If one supplies colors, the support will be broken into |
main |
User may specify a title for the plot. |
legend.text1 |
User may specify a legend, e.g. Support of Death Penalty to declare what the colors indicate. |
legend.text2 |
Like |
... |
additional arguments to be passed to the low level plotting functions. |
In the current version this command cannot handle missing values.
The shape files for this command are from the Swiss government and can be downloaded here: http://www.bfs.admin.ch/bfs/portal/de/index/dienstleistungen/geostat/datenbeschreibung/generalisierte_gemeindegrenzen.html. While this function only needs the cantonal boundaries one can also download the shape files for municipality boundaries at the above mentioned URL.
Lucas Leemann
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.