generalFitPlot: Plot of the fits in the 'climex' app

Description Usage Arguments Details Value Author(s) See Also

Description

box containing the plot of the performed GEV/GP fit as well as three goodness-of-fit plots.

Usage

1
2
3
generalFitPlot(input, output, session, reactive.extreme, reactive.rows,
  reactive.fitting, buttonMinMax, radioEvdStatistics, selectDataBase,
  selectDataType, sliderThreshold)

Arguments

input

Namespace input. For more details check out http://shiny.rstudio.com/articles/modules.html

output

Namespace output.

session

Namespace session.

reactive.extreme

Reactive value returning a list containing three elements: 1. the blocked time series, 2. the deseasonalized time series, and 3. the pure time series.

reactive.rows

Reactive value holding a logical vector indicating which values of the time series provided by data.extremes to use after clicking and brushing.

reactive.fitting

Reactive value containing the results of the fit (fit.gev or fit.gpd depending on radioEvdStatistic) to the blocked time series in in the first element of the list returned by data.extremes.

buttonMinMax

Character (radio) input determining whether the GEV/GP distribution shall be fitted to the smallest or biggest values. Choices: c( "Max", "Min ), default = "Max".

radioEvdStatistics

Character (radio) input determining whether the GEV or GP distribution shall be fitted to the data. Choices: c( "GEV", "GP" ), default = "GEV".

selectDataBase

Character (select) input to determine the data source. It is either of one of the names of the provided list in the list.data.sources argument of the climex function or Artificial data. In case of the latter choice, the function data.selection will provide a reactive object containing random numbers drawn from the distribution specified using radioEvdStatistics. Default = a random element of the provided input.

selectDataType

Character (select) input to determine which set of measurements should be used. This choice is important if the input of the climex function was not just a list of different station data, but a list of such lists. This additional layer of lists can e.g. represent different types of measurement data like precipitation and temperature. Their names are derived from the names of the input list.

sliderThreshold

Numerical (slider) input determining the threshold used within the GP fit and the extraction of the extreme events. Boundaries: minimal and maximal value of the deseasonalized time series (rounded). Default: 0.8* the upper end point.

Details

All four plots are rendered using the ggplot2 package.

Value

Either NULL or the last ggplot2 plot.

Author(s)

Philipp Mueller

See Also

Other climex-plot: generalFitPlotOutput, generalTimeSeriesPlotOutput, generalTimeSeriesPlot


theGreatWhiteShark/climexUI documentation built on May 22, 2019, 2:25 p.m.