[.fall | R Documentation |
Extracts or subsets an object of class "fall."
## S3 method for class 'fall' x[i, ...]
x |
an object of class "fall." |
i |
index specifying the recession to extract. See Details. |
... |
not used, required for other methods. |
The values for i
can be either a single numeric index or a single
character string. If i
is numeric, then extract that element number.
If i
is character, then extract that Index number.
A data frame of the specified recession containing these columns:
The date of the observation
The ground water level value
The recession index number
The sequence number for each day of the recession
Note that the sequence number of the recession begins at 0 becuase that value represents the peak and the recession starts the following day.
fall
## Not run: library(smwrData) data(GlacialRidge) # Select the first recession of at least 10 days with(GlacialRidge, fall(G12, datetime, MPelev=1126.42))[1] ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.