brutsaert: Brutsaert infiltration parameter optmisation in R

Description Usage Arguments Value Author(s) References Examples

Description

This function optimises Brutsaert, W. (1977) cumulative infiltration (I): B, Ks and S.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
brutsaert(data = NULL, time, I, S = 0.1, Ks = 0.1, B = 1, para = 2,
  group = NULL)

## Default S3 method:
brutsaert(data = NULL, time, I, S = 0.1, Ks = 0.1,
  B = 1, para = 2, group = NULL)

## S3 method for class 'brutsaert'
predict(object, time = NULL, ...)

## S3 method for class 'brutsaert'
plot(x, xlab = "Time(Minutes)",
  ylab = "Cumulative (mm)", main = NULL, layout = NULL, ...)

## S3 method for class 'brutsaert'
summary(object)

## S3 method for class 'brutsaert'
print(x, ...)

## S3 method for class 'brutsaert'
coef(object, ...)

Arguments

data

dataframe. It can contain data with column names of "time" and "I"

time

character or numeric. The name of time variable in the dataframe. If the "data" parameter contains "time", this will be ignored. The unit must be in seconds.

I

cumulative infiltration (I) or infiltration rate (i) [mm]

S

numeric. sorptivity parameter

Ks

saturated hydraulic conductivity

B

brutsaert parameter

para

numeric. Whether 2 or 3 parameter brutsaert model should be implemented.

group

character. The name of the group variables if the data is from different areas.

object

Model output object

...

Any other graphical parameter

x

a return object of the function.

xlab

x label of the plot

ylab

y label of the plot

main

Title of the plot

layout

plot layout

Value

Author(s)

George Owusu

References

Brutsaert, W. (1977). Vertical infiltration in dry soil. Water Resour. Res., 13, 363-368.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data=read.csv(system.file("ext","sys","exampleBEST.csv",package="vadose"))
brutsaert1<-brutsaert(data=data,time="time",I="I")
#print(gof(brutsaert1))
plot(brutsaert1)
predict(brutsaert1)
coef(brutsaert1)
#gof(brutsaert1)

#group simulation
data=read.csv(system.file("ext","sys","infiltration2.csv",package="vadose"))
assin_breko<- subset(data, ID=="41A20_1")
brutsaertg<-brutsaert(data=data,time="minutes",I="CumInfil",group="ID")
coef(brutsaertg)

gowusu/vadose documentation built on May 17, 2019, 7:59 a.m.