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

View source: R/Func_PTF.R

PTF.soilR Documentation

Pedotransfer function to generate soil parameter PTF.soil

Description

Pedotransfer function to generate soil parameter PTF.soil

Usage

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

Arguments

x

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

topsoil

TRUE/FALSE, default = TRUE

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.soil(x)
apply(y[,-1], 2, summary)
plot(x[,3], y[,2])

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