fit.interactive: Interactive fits in 'climex' app

Description Usage Arguments Details Value Author(s) See Also

Description

Function to perform the GEV/GP fit within the climex app.

Usage

1
2
fit.interactive(x.kept, radioEvdStatistics, buttonMinMax, sliderThreshold,
  selectDataBase)

Arguments

x.kept

Time series of class xts. Removing clicked or brushed values has to be done beforehand.

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

This function does not wait for the initialization of its slider, checkbox etc. inputs. This way the fit can be performed with its default settings in the Map tab without switching to the General tab first.

Value

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, data.fitting, generalFitStatisticsTable, generalFitStatistics


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