Description Usage Arguments Value Examples
View source: R/discrim_factors_pairwise.R
This function seeks to measure the importance of each variable on the composition of clusters. It computes a lda and extracts the scaling as proxy of the importance of the variable on cluster separation.
1 | discrim_factors_pairwise(data, groups, p.adj = "bon")
|
data |
a matrix or dataframe of features |
groups |
a vector of groups |
p.adj |
The method to correct the 'p-value'. See p.adjust for available methods. |
a named list of pairwise comparisond
1 2 3 4 5 | #' data(iris)
my_features <- iris[1:4]
my_groups <- iris$Species
discrim_factors_pairwise(my_features, my_groups, "bon")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.