ggplot_casagrande_preconsolidation | R Documentation |
Function to create a ggplot showing how Casagrande's method for determining the preconsolidation pressure from oedometer data works.
The point of maximum curvature is determined by fitting a bilinear curve with a hyperbolic transition area.
ggplot_casagrande_preconsolidation( sigma_v = c(5, 10, 20, 50, 100, 200, 500, 1000, 2000), e = c(0.94, 0.93, 0.92, 0.9, 0.88, 0.85, 0.8, 0.75, 0.71), xlim = c(4, NA), ylim = c(NA, NA), palette = "Set1", label_line = c("1", "2", "3", "4", "5", "sigma*minute[v*\",\"*c]"), stages = seq(6), include_value = TRUE, nsignif = 2 )
sigma_v |
array with oedometer stresses |
e |
array with void ratios |
xlim, ylim |
2-parameters arrays for x and y axes limits. If not defined, these limits are determined automatically |
palette |
RColorBrewer pallette for plot colors |
label_line |
array with six character strings, which will be parsed
|
stages |
plot fitting stages (array with numbers)
|
include_value |
if |
nsignif |
the number of significant digits to use in the (rounded)
value of the show preconsolidation pressure (if |
#all stages ggplot_casagrande_preconsolidation() #stage by stage ggplot_casagrande_preconsolidation(stages = c()) ggplot_casagrande_preconsolidation(stages = seq(1)) ggplot_casagrande_preconsolidation(stages = seq(2)) ggplot_casagrande_preconsolidation(stages = seq(3)) ggplot_casagrande_preconsolidation(stages = seq(4)) ggplot_casagrande_preconsolidation(stages = seq(5)) ggplot_casagrande_preconsolidation(stages = seq(6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.