plot_results | R Documentation |
This function generates a plot showing the relative contribution of sediment sources to each mixture. The output of the unmix
function should be used as input for this function.
plot_results(
data,
violin = T,
bounds = c(0, 1),
scaled = T,
y_high = 1,
colors = NULL,
ncol = 1
)
data |
A data frame, typically the output from the |
violin |
A logical value. If |
bounds |
A numeric vector of length 2 specifying the lower and upper bounds for the data. |
scaled |
A logical value. If |
y_high |
The maximum value for the y-axis. |
colors |
A character vector of colors to use for the plots. |
ncol |
The number of plots per row. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.