Description Usage Arguments Value Author(s) References Examples
This function optimises Jury et al (1991) cumulative infiltration (I) parameters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | scs(data, time, I, a = 0.1, b = 0.1, group = NULL)
## Default S3 method:
scs(data, time, I, a = 0.1, b = 0.1, group = NULL)
## S3 method for class 'scs'
predict(object, time = NULL, ...)
## S3 method for class 'scs'
plot(x, xlab = "Time(Minutes)", ylab = "Cumulative (cm)",
main = NULL, layout = NULL, ...)
## S3 method for class 'scs'
summary(object, ...)
|
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 |
b |
constant |
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 |
a: optimised constant
b: optimised constant
output: output of the group simulation
George Owusu
Jury, W. A., Gardner, W. R., & H., G. W. (Eds.). (1991). Soil physics (5th ed.). New York (NY): John Wiley & Sons.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data=read.csv(system.file("ext","sys","exampleBEST.csv",package="vadose"))
SCS1<-scs(data=data,time="time",I="I")
#print(gof(SCS1))
plot(SCS1)
predict(SCS1)
coef(SCS1)
#gof(SCS1)
#group simulation
data=read.csv(system.file("ext","sys","infiltration2.csv",package="vadose"))
assin_breko<- subset(data, ID=="41A20_1")
SCSg<-scs(data=data,time="minutes",I="CumInfil",group="ID")
coef(SCSg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.