Learn R Programming

medfate (version 0.2.2)

soil: Soil definition

Description

Defines a soil object for its use in simulation functions.

Usage

soil(SoilParams, W = as.numeric(c(1,1,1)))
# S3 method for soil
print(x,  ...)

Arguments

SoilParams

A list of soil parameters (see defaultSoilParams.

W

A three-value numerical vector with the relative water content of the three soil layers (topsoil, subsoil and rocky layer).

x

An object of class soil.

...

Additional parameters to print.

Value

An list of class soil with the following elements:

Details

Function print prompts a description of soil characteristics and status (water content).

See Also

soil.psi2theta, swb, defaultSoilParams

Examples

Run this code
# NOT RUN {
s = soil(defaultSoilParams())
s
# }

Run the code above in your browser using DataLab