modified.kostiakov: Smith modified kostiakov infiltration parameter optmisation...

Description Usage Arguments Value Author(s) References Examples

Description

This function optimises Smith (1972) modified kostiakov cumulative infiltration (I)

Usage

1
2
3
4
5
6
7
8
9
modified.kostiakov(data = NULL, time, I, a = 0.1, k = 0.1, fc = 0.1,
  group = NULL)

## Default S3 method:
modified.kostiakov(data = NULL, time, I, a = 0.1,
  k = 0.1, fc = 0.1, group = NULL)

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

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]

a

constant

k

constant

fc

constant

group

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

object

Model output object

...

Any other graphical parameter

Value

Author(s)

George Owusu

References

Smith, R. E. (1972). The infiltration envelope: Results from a theoretical infiltrometer. J.Hydrol., 17, 1-21.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
data=read.csv(system.file("ext","sys","exampleBEST.csv",package="vadose"))
modified.kostiakov1<-modified.kostiakov(data=data,time="time",I="I")
#print(gof(modified.kostiakov1))
plot(modified.kostiakov1)
predict(modified.kostiakov1)
coef(modified.kostiakov1)
#gof(modified.kostiakov1)

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

## End(Not run)

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