| uplot_freq | R Documentation |
Creates a frequency plot (bar plot) for a selected variable in a molecular formula dataset. Values are grouped and counted, then visualized as bars. A unified UME plot theme is applied for consistent styling across all uplot_* functions.
uplot_freq(
mfd,
var = "14N",
col = "grey",
space = 0.5,
width = 0.3,
logo = TRUE,
gg_size = 12,
plotly = FALSE,
...
)
mfd |
data.table with molecular formula data as derived from
|
var |
Character. Name of the variable for which the frequency
distribution should be plotted (e.g. |
col |
Bar fill color. |
space |
Not used (kept for backward compatibility). |
width |
Bar width. |
logo |
Logical. If TRUE, adds a UME caption. |
gg_size |
Base text size for |
plotly |
Logical. If TRUE, return interactive plotly object. |
... |
Additional arguments passed to methods. |
A ggplot object, or a plotly object when plotly = TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.