R/stk_cluster.R
stk_cluster.Rd
Uses k-means and hierarchical clustering to group geolocator covariates into consistent groups for visual analysis
stk_cluster(df, k = 2, method = "kmeans")
A skytrackr data frame.
The number of k-means/hierarchical clusters to consider.
The method to use, "kmeans" (default), "hclust" can be set.
The original data frame with attached cluster labels.