plot_summaries {extrememix}R Documentation

Plot Methods for Summaries

Description

Plotting methods for objects created with quant, ES, return_level or VaR.

Usage

## 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, ...)

Arguments

x

an object of class quant, ES, return_level or VaR.

ylim

limits of the y-axis.

...

additional parameters for compatibility.

Details

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.

Value

Appropriate plots for quantities computed with extrememix.

Examples

plot(return_level(rainfall_ggpd)) ## for line plot
plot(return_level(rainfall_ggpd, values = 100)) ## for histogram



[Package extrememix version 0.0.1 Index]