mapcan {mapcan} | R Documentation |
Canadian maps function
Description
A function that returns a data frame with map data, for use in ggplot.
Usage
mapcan(boundaries, type, province = all, territories = TRUE)
Arguments
boundaries |
Unquoted expression specifying boundary divisions. Options are |
type |
Unquoted expression specifying type of map. Options are |
province |
An unquoted expression specifying province to plot. Acceptable input is French or English province names, or two-letter provincial abbreviations. Default is to plot all provinces. |
territories |
A logical value indicating whether or not to include territories in the the returned data frame,
default is |
Examples
mapcan(boundaries = census, type = standard)
[Package mapcan version 0.0.1 Index]