arch_scatter_matrix: Scatter Matrix.

Description Usage Arguments Value

View source: R/arch_scatter_matrix.R

Description

Provides a scatter matrix showing the correlations among different elements of the dataset.

Usage

1
2
3
4
5
6
7
8
9
arch_scatter_matrix(
  df_raw,
  vars,
  title,
  color,
  color_title = "Color Title",
  shape = color,
  shape_title = "Shape title"
)

Arguments

df_raw

Dataframe with the chemical composition and the catagorical values

vars

Variables to use in the scatter matrix (chemical elements or compounds)

title

The title to be displayed

color

Categorical values to be distinguided by colors (e.g. "Region", "Kiln", "Provenance"...)

color_title

The title to be displayed

shape

Categorical values to be distinguided by shapes (e.g. "Region", "Kiln", "Provenance"...)

shape_title

The title to be displayed

Value

A facet grid scatter matrix showing correlations among selected variables.


esteful/ArchFlow documentation built on Dec. 20, 2021, 6:40 a.m.