plot_marginals_grid {flexIC} | R Documentation |
Facetted histograms of marginals before and after flexIC
Description
Facetted histograms of marginals before and after flexIC
Arguments
original |
Matrix or data frame of the original variables. |
flex_out |
Either the list returned by |
bins |
Number of histogram bins. |
after_lab |
Facet-strip label for the post-flexIC panel. |
Value
A ggplot object (returned invisibly).
Examples
set.seed(1)
x <- matrix(rnorm(300), ncol = 3)
target <- cor(x, method = "spearman")
fo <- flexIC(x, target, eps = 0.02, max_iter = 5)
plot_marginals_grid(x, fo, bins = 30)
[Package flexIC version 0.1.4 Index]