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 flexIC() or the transformed numeric matrix itself.

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)
  fo <- flexIC(x, eps = 0.02, max_iter = 5)
  plot_marginals_grid(x, fo, bins = 30)



[Package flexIC version 0.1.3 Index]