ggplot_classificationtriangle_addcrosshairs_part2: Add data to classification chart - part 2

View source: R/classification_triangle.R

ggplot_classificationtriangle_addcrosshairs_part2R Documentation

Add data to classification chart - part 2

Description

Add measured data to part 2 of the soil classification chart

Usage

ggplot_classificationtriangle_addcrosshairs_part2(
  plt,
  fines_fraction,
  clay_fraction,
  group = NULL,
  crosshairs = TRUE,
  legend_position = "none",
  legend_title = "",
  palette = "Set1",
  label_parse = FALSE
)

Arguments

plt

a ggplot object with chart

fines_fraction

mass fraction of fines (array)

clay_fraction

mass fraction of clay (array)

group

name of group

crosshairs

if 'TRUE', crosshairs are plotted

legend_position

position of legend. If 'none', no legend is shown

legend_title

title of legend

palette

RColorBrewer palette used for discrete colors

label_parse

if 'TRUE', parse 'group' labels

Value

ggplot object


GJMeijer/soilmech documentation built on May 22, 2022, 10:39 a.m.