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

Description Usage Arguments Value Examples

View source: R/Func_PTF.R

Description

Pedotransfer function to generate soil parameter PTF.geol

Usage

1
2
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

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

happynotes/PIHMgisR documentation built on Jan. 25, 2020, 9:51 p.m.