PlotFactorSelection: Plot decrease in reconstruction error versus random noise....

View source: R/swne_plotting.R

PlotFactorSelectionR Documentation

Plot decrease in reconstruction error versus random noise. The point where the change in reconstruction error matches the change in reconstruction error for the randomized matrix is the optimal number of factors to use.

Description

Plot decrease in reconstruction error versus random noise. The point where the change in reconstruction error matches the change in reconstruction error for the randomized matrix is the optimal number of factors to use.

Usage

PlotFactorSelection(k.err.diff, font.size = 12)

Arguments

k.err.diff

Reduction in reconstruction error above noise output by FindNumFactors

font.size

Font size to use for plotting


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.