points_map_country: Maps out all existing values of a variable in a...

Description Usage Arguments Value

Description

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.

Usage

1
points_map_country(spatial_dataframe, mapping_variable, label_variable)

Arguments

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)

Value

Returns a tmap object, which can be viewed as a map layer


dr9593/automapper documentation built on May 21, 2019, 1:22 p.m.