Description Usage Arguments Value
This function will take a spatialpointsdataframe, the variable in the spatial dataframe to be mapped, and the variable label (optional), and create a map layer filling the points associated with the mapping variable on a color scale. This is intented currently for only numeric data.
1 | points_map_country(spatial_dataframe, mapping_variable, label_variable)
|
spatial_dataframe |
The spatialpointsdataframe to be mapped |
mapping_variable |
The column name to be mapped |
label_variable |
The column name (typically the english name column) (OPTIONAL) |
Returns a tmap object, which can be viewed as a map layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.