R/map_fertilizer.R
theme_map_fertilizer.Rd
Create base map theme for further use. Adapted from theme maps. https://www.rdocumentation.org/packages/ggthemes/versions/3.5.0/source
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. |
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)