data.selection: Data selection in the 'climex' app

Description Usage Arguments Details Value Author(s) See Also

Description

Reactive value selecting an individual time series.

Usage

1
2
3
4
data.selection(reactive.chosen, selectDataSource, selectDataBase,
  sliderThreshold, radioEvdStatistics, sliderArtificialDataLocation,
  sliderArtificialDataScale, sliderArtificialDataShape, reactive.redrawing,
  sliderSeriesLength)

Arguments

reactive.chosen

Reactive value containing a list of the list of all provided stations and a data.frame containing the meta data.

selectDataSource

Menu output in the sidebar. It is a character string describing the selected station's name.

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.

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.

radioEvdStatistics

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

sliderArtificialDataLocation

Numerical (slider) input providing the location parameter to generate an artificial time series. If radioEvdStatistics equals "GP" or selectDataBase does not equal "Artificial data", this argument will be NULL.

sliderArtificialDataScale

Numerical (slider) input providing the scale parameter to generate an artificial time series. If selectDataBase does not equal "Artificial data", this argument will be NULL.

sliderArtificialDataShape

Numerical (slider) input providing the shape parameter to generate an artificial time series. If selectDataBase does not equal"Artificial data", this argument will be NULL.

reactive.redrawing

Reactive event triggering whenever the user presses the Draw button displayed when "Artificial data"' is chosen in selectDataBase. If not chosen, this button will not be defined.

sliderSeriesLength

Numerical slider determining the length of an artificial time series. This one will only be present when selectDataBase is set to "Artificial data".

Details

According to the choice in selectDataBase an artificial time series will be sampled or one from a database will be selected. For the latter one the reactive value data.chosen will be constulted. The length of the generated time series is determined by the sliderSeriesLength.

Value

Reactive value containing a xts class time series.

Author(s)

Philipp Mueller

See Also

Other sidebar: sidebarCleaningInput, sidebarCleaning, sidebarDataBaseInput, sidebarDataBase, sidebarDataSourceInput, sidebarDataSource, sidebarDataTypeInput, sidebarDataType, sidebarImprintInput, sidebarImprint, sidebarLoadingGifOutput, sidebarLoadingGif, sidebarLoadingInput, sidebarLoading, sidebarSeriesLengthInput, sidebarSeriesLength


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