Description
Deductive Rational Method.
Description
Apply the Deductive Rational Method to a monthly series of flow or precipitation data to fill in missing data. The method is as described in: Campos, D.F., (1984, ISBN:9686194444).
README.md
DeductiveR
Deductive Rational Method for fill in missing data of flow or precipitation monthly time series.
Requirements
Dependencies: dplyr, tidyr, ggplot2, moments, ggpubr, lmomco
Installation
You can install the currently-released version of DeductiveR from CRAN with this R command:
install.packages("DeductiveR")
Alternatively, you can install the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("Alobondo/DeductiveR")
library(DeductiveR)
Usage
| Functions | Description |
|---|---|
DR() | Apply the Deductive Rational Method to a monthly series of flow or precipitation data to fill in missing data. |
DR_plot() | Plot the result from the application of the Deductive Rational Method. |
DR_boxplot() | BoxPlot from the result from the application of the Deductive Rational Method. |
DR_stats() | Statistics for the result from the application of the Deductive Rational Method. |
DR_SVC() | Seasonal Variation Curves considering results from the application of the Deductive Rational Method. |
DeductiveR::data | Load the example data. |
DR() works with a dataframe with columns: date - year - month - day - station number (type date the first column and numeric the rest). This follows the same format as CAMELS-CL (https://camels.cr2.cl/) monthly flow file.
Reporting bugs
If you find an error in some function, want to report a typo in the documentation or submit a recommendation, you can do it here
Keywords
Hydrology, R package, Time Series.