View source: R/Correlation_Chart.R
| Correlation_Chart | R Documentation |
Generates a correlation matrix scatterplot of dataset properties, grouped by source, to aid in collinearity diagnosis and optimal tracer selection.
Correlation_Chart(
data,
tracers = 1:(ncol(data) - 2),
mixtures = TRUE,
nmixtures = 2,
colors = NULL,
seed = NULL
)
correlationPlot(
data,
tracers = 1:(ncol(data) - 2),
mixtures = TRUE,
nmixtures = 2,
colors = NULL,
seed = NULL
)
correlation_plot(
data,
tracers = 1:(ncol(data) - 2),
mixtures = TRUE,
nmixtures = 2,
colors = NULL,
seed = NULL
)
data |
Data frame. Contains source and mixture data in the standard fingerprinting format. |
tracers |
Numeric vector. Indices of the tracers to include in the matrix. Default |
mixtures |
Logical. If TRUE, includes mixture samples in the correlation plots. Default TRUE. |
nmixtures |
Integer. Number of mixture samples present in the dataset. Default 2. |
colors |
Character vector. Custom colors for the scatterplot groups. Default NULL. |
seed |
Integer. Random seed for reproducibility. Default NULL. |
A GGally::ggpairs object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.