tabulate_vertical_stress_profile: Generate bookdown table for stress calculatinos

View source: R/stress_profiles_vertical.R

tabulate_vertical_stress_profileR Documentation

Generate bookdown table for stress calculatinos

Description

Generates a tibble that can be converted using knitr to a nicely looking bookdown table

Usage

tabulate_vertical_stress_profile(
  ds,
  output = "values",
  traces = c("sigma_v", "u", "sigma'_v"),
  nround = 2
)

Arguments

ds

tibble with stress values. Output from function 'vertical_stress_profile()'

output

if 'values', only return stress values. If 'calculations', it also return how to calculate the stresses

traces

array with traces to be shown. May contain 'sigma_v' for the total vertical stress, ‘u' for the pore water pressure and 'sigma’_v' for the vertical effective stress

nround

number of decimals to round stress values to

Value

a tibble

Examples

ds <- vertical_stress_profile(z_watertable = -2, q = 10)
tabulate_vertical_stress_profile(ds)

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