ggplot_plasticitychart: Plot plasticity chart

View source: R/plasticity.R

ggplot_plasticitychartR Documentation

Plot plasticity chart

Description

Function to plot a plasticity chart containing both the A and B lines

Usage

ggplot_plasticitychart(
  wL = NULL,
  Ip = NULL,
  add_legend = TRUE,
  textsize_class = 3,
  textsize_legend = 2.5
)

Arguments

wL

liquid limits for crosshairs (in %)

Ip

plasticity index for crosshairs (in %)

add_legend

if 'TRUE', return a plot with a legend

textsize_class

font size of text in behaviour types

textsize_legend

font size of text in legend

Value

a ggplot object

Examples

#plot empty chart
ggplot_plasticitychart()

#plot chart with annotation
ggplot_plasticitychart(wL = 60, Ip = 20)

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