Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Choropleth

The base Choropleth object.


Description

The base Choropleth object.

The base Choropleth object.

Methods

Public methods


Method new()

Usage
Choropleth$new(map.df, user.df)

Method render()

Usage
Choropleth$render()

Method get_min_long()

Usage
Choropleth$get_min_long()

Method get_max_long()

Usage
Choropleth$get_max_long()

Method get_min_lat()

Usage
Choropleth$get_min_lat()

Method get_max_lat()

Usage
Choropleth$get_max_lat()

Method get_bounding_box()

Usage
Choropleth$get_bounding_box(long_margin_percent, lat_margin_percent)

Method get_x_scale()

Usage
Choropleth$get_x_scale()

Method get_y_scale()

Usage
Choropleth$get_y_scale()

Method get_reference_map()

Usage
Choropleth$get_reference_map()

Method get_choropleth_as_polygon()

Usage
Choropleth$get_choropleth_as_polygon(alpha)

Method render_with_reference_map()

Usage
Choropleth$render_with_reference_map(alpha = 0.5)

Method clip()

Usage
Choropleth$clip()

Method discretize()

Usage
Choropleth$discretize()

Method bind()

Usage
Choropleth$bind()

Method prepare_map()

Usage
Choropleth$prepare_map()

Method get_scale()

Usage
Choropleth$get_scale()

Method theme_clean()

Usage
Choropleth$theme_clean()

Method theme_inset()

Usage
Choropleth$theme_inset()

Method format_levels()

Usage
Choropleth$format_levels(x, nsep = " to ")

Method set_zoom()

Usage
Choropleth$set_zoom(zoom)

Method get_zoom()

Usage
Choropleth$get_zoom()

Method set_num_colors()

Usage
Choropleth$set_num_colors(num_colors)

Method clone()

The objects of this class are cloneable with this method.

Usage
Choropleth$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


choroplethr

Simplify the Creation of Choropleth Maps in R

v3.7.0
BSD_3_clause + file LICENSE
Authors
Ari Lamstein [aut, cre], Brian Johnson [ctb], Trulia, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.