stroosnijder: stroosnijder infiltration parameter optimisation in R

Description Usage Arguments Value Author(s) References Examples

Description

This function optimises stroosnijder (1976) cumulative infiltration (I): 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
stroosnijder(data = NULL, time, I, S = 0.1, K = 0.1, para = 2,
  group = NULL)

## Default S3 method:
stroosnijder(data = NULL, time, I, S = 0.1, K = 0.1,
  para = 2, group = NULL)

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

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

## S3 method for class 'stroosnijder'
summary(object, ...)

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

## S3 method for class 'stroosnijder'
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

K

character. The type of hydraulic conductivity model. It takes "BC" for Brooks and Corey (1964) and VG for van Genuchten (1980).

para

a parameter for each model

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

stroosnijder, L., 1976. Infiltratie en Herverdeling van Water in Gronde. Versl.Landbouwkd, Onderz. 847

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"))
stroosnijder1<-stroosnijder(data=data,time="time",I="I")
#print(gof(stroosnijder1))
plot(stroosnijder1)
predict(stroosnijder1)
coef(stroosnijder1)
#gof(stroosnijder1)

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

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