Description Usage Arguments Value
ggplot function for plotting a single component
1 | plot_component(s, plot.title, peaks = FALSE, peakresult = NULL)
|
s |
A single component |
plot.title |
Character title of the plot |
peaks |
TRUE shows peaks in red, FALSE leaves everything black |
peakresult |
Pre-calculated peak positions, if not supplied peaks will be defined as values lying out of 2 standard deviations. |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.