points_map_subregion: For a specified subsection, maps out all existing values of a...

Description Usage Arguments Value

Description

This function will take a spatialpintsdataframe, the variable in the spatial dataframe to be mapped, then the column name and value of the subregion of the spatialpointsdataframe to be mapped, along with 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
2
points_map_subregion(spatial_dataframe, mapping_variable, subregion_column_name,
  subregion_value, label_variable)

Arguments

spatial_dataframe

The spatialpointsdataframe to be mapped

mapping_variable

The column name of the data to be mapped

subregion_column_name

The column name of the subregion to be mapped

subregion_value

The value in the aforementioned column name that will 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.