plot.wateres_alpha_beta | R Documentation |
Plots characteristics for given reliabilities stored in a wateres_alpha_beta
object, by using the ggplot2
package.
## S3 method for class 'wateres_alpha_beta'
plot(x, filename = NULL, width = 8,
height = 6, ...)
x |
A |
filename |
A file name where the plot will be saved. If not specified, the plot will be printed to the current device. |
width |
Plot width in inches (or a unit specified by the |
height |
Plot height in inches (or a unit specified by the |
... |
Further arguments passed to the |
A ggplot
object.
reser = data.frame(
Q = c(0.078, 0.065, 0.168, 0.711, 0.154, 0.107, 0.068, 0.057, 0.07, 0.485, 0.252, 0.236,
0.498, 0.248, 0.547, 0.197, 0.283, 0.191, 0.104, 0.067, 0.046, 0.161, 0.16, 0.094),
DTM = seq(as.Date("2000-01-01"), by = "months", length.out = 24))
reser = as.wateres(reser, storage = 14.4e6, area = 754e3)
alpha_beta = alpha_beta(reser)
plot(alpha_beta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.