Description Usage Arguments Value
Moves, scales, and rotates Alaska and Hawaii to make a compact 50 state map for data vizualization.
1 2 3 4 5 6 7 8 9 10 | build_display_map(
shapefile,
smooth = 0.005,
rotate_ak = -27,
scale_ak = 0.4,
shift_ak = c(-5e+05, -3250000),
rotate_hi = -25,
scale_hi = 1,
shift_hi = c(5e+06, -1400000)
)
|
shapefile |
A shapefile with CoC boundaries. |
smooth |
A numeric parameter for shapefile simplification. |
rotate_ak |
Rotation parameter for Alaksa, in degrees. |
scale_ak |
Scale factor for Alaska. |
shift_ak |
A vector with the horizonal and vertical shift for Alaska. |
rotate_hi |
Rotation parameter for Hawaii, in degrees |
scale_hi |
Scale factor for Hawaii. |
shift_hi |
A vector with the horizonal and vertical shift for Hawaii |
A spatial data frame with adjusted representations of Alaska and Hawaii.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.