View source: R/5-selectRatios.R
search_tree | R Documentation |
This function performs a hierarchical clustering on the given data and identifies the best clusters based on variance explained by Canonical Correspondence Analysis (CCA).
search_tree(data, Z, nclust = ncol(data)/10, nsearch = 1, lrm = NULL)
data |
The input data matrix for clustering. |
Z |
The matrix used to fit vegan model. |
nclust |
The number of clusters to create during hierarchical clustering. Default is calculated as ncol(data) / 10. |
nsearch |
The number of best clusters to search for. Default is 1. |
lrm |
The Log Ratio Matrix. Default is NULL. |
A numeric vector containing the percentage of variance explained by CCA for each cluster identified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.