Description Usage Arguments Value
View source: R/cluster_yields.R
Exploratory analysis for choosing mixing parameter
1 2 3 4 5 6 7 |
processed_data |
sf; An sf object likely returned from |
cluster_number |
integer; number of clusters to be used. |
range |
numeric; **optional** range of mixing parameters to consider.
These values are passed as the alpha parameter in |
plot |
logical; **optional** should plot be returned in the current graphics device (likely in RStudio). Default is TRUE. |
output_path |
string; **optional** path where plot should be saved. Default is NULL. If path is provided, PDFs with the names "mixing_parameters_map_k_clusters" and "mixing_parameters_plot_k_clusters" will be created, where k is the integer passed to cluster_number. |
Two plots are returned. The first is the output from ClustGeo::choicealpha
and the second is a faceted plot showing the field cluster results for each
level of alpha in range
. This information should be used to choose a
value for the mixing paramters (alpha).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.