Description Usage Arguments Author(s) Examples
Create base map theme for further use. Adapted from theme maps. https://www.rdocumentation.org/packages/ggthemes/versions/3.5.0/source
1 | theme_map_fertilizer(base_size = 9, base_family = "")
|
base_size |
the size for font in the map. |
base_family |
the font family in the map. |
Wenlong Liu
1 2 3 4 5 6 7 8 9 10 | require(usfertilizer)
require(ggfertilizer)
data(us_fertilizer_county)
# Generate a map.
us_plot <- map_us_fertilizer(data = us_fertilizer_county,
Year = 2010, Nutrient = "N",
level = "county", facet="Year", Farm_Type = "farm")
# Add user_defined map theme.
us_plot = us_plot + theme_map_fertilizer(base_size = 12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.