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

USAChoropleth

Normal choropleth that draws Alaska and Hawaii as insets. In addition to a columns named "region" and "value", also requires a column named "state".


Description

Normal choropleth that draws Alaska and Hawaii as insets. In addition to a columns named "region" and "value", also requires a column named "state".

Normal choropleth that draws Alaska and Hawaii as insets. In addition to a columns named "region" and "value", also requires a column named "state".

Super class

choroplethr::Choropleth -> USAChoropleth

Methods

Public methods


Method new()

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

Method render()

Usage
USAChoropleth$render()

Method render_helper()

Usage
USAChoropleth$render_helper(choropleth.df, scale_name, theme)

Method render_state_outline()

Usage
USAChoropleth$render_state_outline(states)

Method set_zoom()

Usage
USAChoropleth$set_zoom(zoom)

Method clone()

The objects of this class are cloneable with this method.

Usage
USAChoropleth$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.