plot_summaries | R Documentation |
Plotting methods for objects created with quant
, ES
, return_level
or VaR
.
## S3 method for class 'quant'
plot(x, ylim = NULL, ...)
## S3 method for class 'return_level'
plot(x, ylim = NULL, ...)
## S3 method for class 'VaR'
plot(x, ylim = NULL, ...)
## S3 method for class 'ES'
plot(x, ylim = NULL, ...)
x |
an object of class |
ylim |
limits of the y-axis. |
... |
additional parameters for compatibility. |
Two types of plot can be output: either a line plot in the case the functions quant
, ES
, return_level
or VaR
where called with more than one value for the input values
, or an histogram otherwise.
Appropriate plots for quantities computed with extrememix
.
plot(return_level(rainfall_ggpd)) ## for line plot
plot(return_level(rainfall_ggpd, values = 100)) ## for histogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.