make_spatial: Make all the maps for a data set

Description Usage Arguments Value Author(s) Examples

View source: R/all-maps.R

Description

Make all the maps for a data set

Usage

1
2
make_spatial(d, locations, bounding_box = F, zoom = 5, scaling = 1,
  n_cluster)

Arguments

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

Value

list of maps (including scree plot and dendrograms)

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

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)

nxskok/seaiceR documentation built on Nov. 4, 2019, 10:12 p.m.