Learn R Programming

extrememix (version 0.0.1)

plot_summaries: Plot Methods for Summaries

Description

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

Usage

# S3 method for quant
plot(x, ylim = NULL, ...)

# S3 method for return_level plot(x, ylim = NULL, ...)

# S3 method for VaR plot(x, ylim = NULL, ...)

# S3 method for ES plot(x, ylim = NULL, ...)

Value

Appropriate plots for quantities computed with extrememix.

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.

Examples

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


Run the code above in your browser using DataLab