hierarchical_groups | R Documentation |
Creates hierarchically structured candidate groups based on a distance matrix.
hierarchical_groups( samples, dist_matrix = NULL, X = NULL, max_pep = 1, max_size = 25, filter_sequential = FALSE )
samples |
(N,p)-shaped array of posterior samples where a nonzero value indicates the presence of a signal. |
dist_matrix |
A distance matrix corresponding to distances between locations, used for hierarchical clustering. |
X |
The design matrix in regression problems, which will be used to create dist_matrix if dist_matrix is not provided. |
max_pep |
The maximum posterior error probability (PEP) allowed in a candidate group. Default is 1. |
max_size |
maximum allowable size for each group. |
filter_sequential |
If TRUE, ignore sequential groups of variables to avoid duplication. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.