dd_cluster_stations: dd_cluster_stations

Description Usage Arguments Value

Description

Convert the results of dd_cov_clusters to a tibble including station IDs, longitudes, and latitudes.

Usage

1
dd_cluster_stations(cl, city, stns, min_size = 3)

Arguments

cl

Vector of cluster numbers obtained from dd_cov_clusters

city

City for which clusters were obtained

stns

A tibble of station data, including stn_id, longitude, and latitude, typically obtained from bikedata::bike_stations(city).

min_size

Lower threshold above which to plot clusters

Value

A tibble of (stn_id, longitude, latitude, and cl), where the latter denotes the cluster number.


mpadge/distdecay documentation built on May 24, 2019, 6:08 a.m.