correctAWC: Apply rock fragment or salt correction to available water...

Description Usage Arguments Value Examples

View source: R/estimateAWC.R

Description

Apply rock fragment or salt correction to available water content

Usage

1
correctAWC(awc, total_rf, gravel = NULL, ec = NULL)

Arguments

awc

Numeric vector of available water capacities (e.g. from estimateAWC)

total_rf

Numeric vector of rock fragment volume percentage, 0 - 100

gravel

Numeric vector of gravel volume percentage, 0 - 100

ec

Numeric vector of electrical conductivity, mmhos/cm

Value

A numeric vector (double) containing estimated available water capacities corrected for rock fragments and salts

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# medium organic matter, loam texture 
base.awc <- 0.18 # estimateAWC(texcl = "l", omcl = 2, na.rm = TRUE)

# medium organic matter, loam texture w/ 23% rock fragments by volume 
corrected.awc <- correctAWC(base.awc, total_rf = 23)
corrected.awc

# medium organic matter, loam texture w/ 0% frags by volume and 8 mmhos/cm salts
salty.awc <- correctAWC(base.awc, total_rf = 0, ec = 8)
salty.awc

aqp documentation built on Sept. 29, 2021, 9:09 a.m.