error_histograms: Errors histogram

Description Usage Arguments Value

View source: R/plot.R

Description

Plot the histograms of errors associated with the scatterplots from the NMF fits.

Usage

1
2
error_histograms(plot_data, facet_terms = NULL, n_bins = 75, alpha = 0.7,
  colors = c("#d95f02", "#7570b3"))

Arguments

plot_data

[data.frame] The data used to plot the error between truth vs. estimate across all dimensions. See the output of melt_reshaped_samples().

facet_terms

[character vector] The columns on which to facet_grid the plot.

n_bins

[int] The number of bins in each histogram panel. Defaults to 75.

alpha

[numeric] The alpha transparency for the different factors.

colors

[character vector] The colors to use for each factor.

Value

hist_plot [ggplot] The ggplot object showing error histograms across factors and simulation configurations.


krisrs1128/nmfSim documentation built on May 20, 2019, 1:30 p.m.