Creates an automatic plot appropriate for SEC analysis results. Dispatches to the most appropriate plot type based on available data.
Usage
plot_sec(
data,
type = c("auto", "chromatogram", "mwd", "multidetector", "conformation"),
...
)Arguments
- data
A data frame containing SEC results with measure columns.
- type
Type of plot to create. One of:
"auto": Automatically detect (default)"chromatogram": Basic chromatogram"mwd": Molecular weight distribution"multidetector": Multi-detector overlay"conformation": Rg-MW or eta-MW plot
- ...
Additional arguments passed to the underlying plot function.
Details
When type = "auto" (default), the function chooses the plot type based on
available data:
If MW column present: MWD plot
If multiple detectors: Multi-detector overlay
Otherwise: Basic chromatogram
This is a convenience wrapper that dispatches to the specific plot
functions: plot_sec_chromatogram(), plot_sec_mwd(),
plot_sec_multidetector(), or plot_sec_conformation().