ggplot_consolidation_averagetime: ggplot for average consolidation in layer as function of time

View source: R/consolidation_time.R

ggplot_consolidation_averagetimeR Documentation

ggplot for average consolidation in layer as function of time

Description

plots a ggplot for the average consolidation in a layer as function of time.

Three traces are plotted * 'trace = 1' drainage in open layers with thickness 2d (uniform or triangular), or in half-closed layer with uniform initial pressure and thickness d * 'trace = 2' drainage in half-closed layer with triangular distribution of initial excess pore water pressure. Larger pressure near closed end * 'trace = 3' drainage in half-closed layer with triangular distribution of initial excess pore water pressure. Larger pressure near open end

Usage

ggplot_consolidation_averagetime(
  Tv = NULL,
  trace = NULL,
  label_Tv = 0.03,
  label_size = 3,
  label_alpha = 1,
  nround = 2
)

Arguments

Tv

normalised time for crosshair annotation

trace

trace selection (1, 2 or 3) for crosshair annotation

label_Tv

time at which to plot time labels on traces

label_size

size of the text in time labels

label_alpha

opacity of the time labels

nround

number of decimals to use in rounding values in crosshair annotations

Value

a ggplot object #empty chart ggplot_consolidation_averagetime()

#annotated chart ggplot_consolidation_averagetime(Tv = 0.5, trace = 1)


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