Usage
miniusa(states, state_colors, border_colors = rep("white", 51), state_names = TRUE, state_name_colors = rep("white", 51), state_name_cex = 1, font = NULL)
Arguments
states
A vector of US state postal abbreviations. This vector must be
some permutation of usa_abb.
state_colors
A vector of "colors" in the R sense. For example strings
("blue"), hex codes ("#D0C7B9"), etc. The ith color in this
vector will be the color of square that represents the ith element of
states.
border_colors
Like state_colors but specifying the border
of the square.
state_names
Should the postal codes for each state be displayed in the
center of the state? The default value is TRUE.
state_name_colors
Like state_colors but specifying the color
of the text displayed in each state.
state_name_cex
The size of the text displayed inside of each state.
font
The font of the text displayed inside of each state. The values
"serif", "sans", and "mono" are safest to use. Use
other fonts at your own risk. If NULL a sans-style font will be used.