View source: R/correlation_plot.R
correlation_plot | R Documentation |
The function displays a correlation matrix of each of the properties divided by the different sources to help the user in the decision.
correlation_plot(
data,
columns = c(1:ncol(data) - 1),
mixtures = FALSE,
nmixtures = 1,
colors = NULL
)
data |
Data frame containing sediment source and mixture data. Users should ensure their data is in a valid format by using the check_database() function before running this function. |
columns |
Numeric vector containing the index of the columns in the chart (the first column refers to the grouping variable) |
mixtures |
Boolean to include or exclude the mixture samples in the chart |
nmixtures |
Number of mixtures in the dataset |
colors |
Vector of colors to use for the scatterplot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.