Description Usage Arguments Value Author(s) Examples
Make all the maps for a data set
1 2 | make_spatial(d, locations, bounding_box = F, zoom = 5, scaling = 1,
n_cluster)
|
d |
wide-format data set (see make_wide) |
locations |
lats and longs of the locations (data frame with three columns Location, Longitude, Latitude) |
bounding_box |
bounding box for map: bottom left long, lat; top right long, lat, longitudes W negative |
zoom |
zoom for map; higher requires more map tiles, but produces better map. Default 5. |
scaling |
global scaling factor for points on Theil-Sen map, default 1 |
n_cluster |
number of clusters to use for Ward and K-means maps |
list of maps (including scree plot and dendrograms)
Ken Butler, butler@utsc.utoronto.ca
1 2 | make_spatial(nine_points, nine_points_locations, n_cluster=4)
make_spatial(nine_points, nine_points_locations, bounding_box=c(-87.5, 71, -82.5, 74), zoom=6, scaling=1, n_cluster=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.