Learn R Programming

mev (version 2.1)

plot.mev_thselect_vmetric: Plots for Varty and al. metric-based threshold selection

Description

This S3 method produces quantile-quantile plots with confidence and tolerance bands on various scale (uniform, exponential, generalized Pareto), or a plot of the metric as a function of the threshold.

Usage

# S3 method for mev_thselect_vmetric
plot(
  x,
  type = c("qq", "pp", "exp", "metric"),
  B = 1000L,
  probs = c(0.025, 0.975),
  ...
)

Value

NULL; the function is used to produce a plot

Arguments

x

an object of class mev_thselect_vmetric produced by a call to thselect.vmetric

type

string; a single string indicating the choice of plot

B

number of simulations for variability of estimation

probs

quantile levels for intervals.

...

additional arguments, currently ignored