threshPlot: Plot Fit Statistics versus Thresholds

Description Usage Arguments Details Value Methods (by class) Examples

Description

This function creates a plot of of the fit statistics versus the associated thresholds

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
threshPlot(x, ...)

## S3 method for class 'thresholded_series'
threshPlot(x, ...)

## S3 method for class 'gumbel_multi_fit'
threshPlot(x, ...)

## S3 method for class 'full_multi_fit'
threshPlot(x, ...)

Arguments

x

An object of class thresholded_series, gumbel_multi_fit, or full_multi_fit

Details

The fit statistics are the maximum vertical distances of the points to the 45^\circ line in the W-plots described in gumbelWPlot and fullWPlot

Value

A ggplot object

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
  complete_series <- -jp1tap1715wind270$value

  declustered_obs <- decluster(complete_series)

  thresholded_series <- gumbelEstThreshold(x = declustered_obs,
                                           lt = 100,
                                           n_min = 10,
                                           n_max = 100)

  threshPlot(thresholded_series)

## End(Not run)

usnistgov/potMax documentation built on May 3, 2019, 2:38 p.m.