View source: R/weighingGaugeInterval.R
weighingGaugeInterval | R Documentation |
Converts weighing gauged cumulative precipitation to interval values. The interval precipitation is checked to make sure that it does not contain any negative values. Negative precipitation will result in the function displaying an error message and returning the value FALSE
.
weighingGaugeInterval(obs, precipCol = 1, quiet = TRUE, logfile = "")
obs |
Required. A standard CRHMr obs file. |
precipCol |
Optional. The number of the column containing the weighting gauge cumulative precipitation data, not including the |
quiet |
Optional. Suppresses display of messages, except for errors. If you are calling this function in an R script, you will usually leave |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. |
If unsuccessful, returns FALSE
. If sucessful, returns a modified version of the obs
dataframe containing the datetime, the cumulative and interval precipitation.
Kevin Shook
weighingGauge1
weighingGauge2
weighingGauge3
weighingGauge4
weighingGauge5
weighingGaugePlot
## Not run:
test5 <- weightingGaugeStep5(wg)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.