View source: R/swne_plotting.R

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.

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

`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 Dec. 7, 2018, 8:55 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.