Learn R Programming

texmex (version 2.4.9)

addExcesses: Annotate a threshold selection ggplot

Description

Annotate a threshold selection ggplot with the number of exceedances of various thresholds.

Usage

addExcesses(p, x, y, data, textsize)

Arguments

p

An object produced by ggplot

x

Horizontal axis data containing the full range.

y

Verticle axis data containing the full range.

data

The actual data being considered for GPD modelling.

textsize

The size of the text in the annotations.