PTF.geol: Pedotransfer function to generate soil parameter 'PTF.geol'

View source: R/Func_PTF.R

PTF.geolR Documentation

Pedotransfer function to generate soil parameter PTF.geol

Description

Pedotransfer function to generate soil parameter PTF.geol

Usage

PTF.geol(
  x = t(matrix(c(33, 33, 2, 1.4), ncol = 5, nrow = 4)),
  topsoil = FALSE,
  rm.outlier = FALSE
)

Arguments

x

data.frame or matrix, column = c(Silt_perc, Clay_perc, OrganicMatter _perc, BulkDensity g/cm3)

topsoil

TRUE/FALSE, default = FALSE

rm.outlier

Whether replace the outliers in each column with the mean value of the column.

Value

Hydraulic parameters, matrix

Examples

x = cbind(10,40, 1:20, 1.5)
y = PTF.geol(x)
apply(y[,-1], 2, summary)
plot(x[,3], y[,2])

SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.