data.fitting: Reactive fitting in the Climex app

Description Usage Arguments Details Value Author(s) See Also

Description

A reactive value performing the GEV/GP fit.

Usage

1
2
data.fitting(reactive.extreme, reactive.rows, fit.interactive,
  radioEvdStatistics, buttonMinMax, sliderThreshold, selectDataBase)

Arguments

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.

fit.interactive

Function used to perform the actual GEV/GP fit. fit.interactive

radioEvdStatistics

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

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".

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.

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.

Details

The fit is performed using the fit.interactive function. Using the reactive.rows input specific points of the time series can be removed.

Value

Reactive value holding a fitted object of class climex.fit.gev or climex.fit.gpd, depending on the choice in radioEvdStatistics.

Author(s)

Philipp Mueller

See Also

Other climex-fitting: color.table, fit.interactive, generalFitStatisticsTable, generalFitStatistics


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