Description Usage Arguments Details Value See Also
Create the state layer for a ggplot2
plot.
1 2 | create_map_state(state = NULL, show_county = TRUE, fill = "white",
color = "black")
|
state |
character for state name. May either be an abbreviation or full name and may be either lower-case or upper-case. |
show_county |
logical. Whether or not to show county lines for specified state. |
fill, color |
character. Either a hex code or a valid color name.
Parameters passed directly to |
Only works for a single state.
Note that when extra layers are added, they must specify a group
(e.g. group = ""
),
in the ggplot2::aes()
call. Otherwise, an error message is returned.
gg.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.