R/clustering_env_data.R
clustering_env_data.Rd
Clustering of environments using a K-means algorithm based on:
Only climate variables
Only soil variables
All environmental data together
clustering_env_data(weather_ECs = NULL, soil_ECs = NULL, path_plots = NULL)
weather_ECs | a |
---|---|
soil_ECs | a |
path_plots |
|
k |
|
Plots showing how the environments cluster based on weather-, soil- and all environmental data, for different k numbers. Metrics such as the Silhouette score or the sum of squares score are also provided.
Cathy C. Westhues cathy.jubin@uni-goettingen.de