Plot the factor/loading pairs from flash results.
flash_plot_factors(data, f, k = 1, loading_label = FALSE, factor_label = FALSE)
| data | The flash data object. |
|---|---|
| f | The flash fit object. |
| k | The indices of the factor/loading pairs to be plotted. |
| loading_label | The label to use for the loading plots. |
| factor_label | The label to use for the factor plots. |
List containing:
plot_f A ggplot object for the factors.
plot_l A ggplot object for the loadings
Plots each factor and loading as a barplot.