plot_sharedness | R Documentation |
Barplot indicating a sharedness score (between 0 (non-shared) and 1 (shared)) per factor
plot_sharedness(object, factors = "all", color = "#B8CF87")
object |
a trained |
factors |
character vector with the factors names, or numeric vector indicating the indices of the factors to use |
color |
for the shared part of the bar |
The sharedness score is calculated as the distance of the learnt group correlation matrix to the identity matrix in terms of the mean absolute distance on the off-diagonal elements.
Returns a ggplot2
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.