splom_select: Scatterplot matrix of selected elements

Description Usage Arguments Value Examples

View source: R/splom_select.R

Description

Create a scatterplot matrix showing selected element geochemistries

Usage

1
splom_select(data, cols, colour, symbol)

Arguments

data

A data frame containing element geochemistries

cols

The names of columns containing selected element geochemistries

colour

The variable which sets the plotting colour (e.g. sample id)

symbol

The variable which sets the plotting symbol (e.g. site, volcano)

Value

A scatterplot matrix showing selected element geochemistries

Examples

1
2
3
4
plot <- splom_select(data, cols = c("SiO2","K2O","Na2O"), Sample_ID);

data$K2O_Na2O <- data$K2O / data$Na2O
plot <- splom_select(data, cols = c("SiO2","K2O_Na2O"), Sample_ID);

amy-mcg/tephrochron documentation built on Dec. 13, 2020, 3:44 p.m.