generalTimeSeriesPlot: Time series plot in the 'climex' app.

Description Usage Arguments Details Value Author(s) See Also

Description

tabBox containing a plot of the pure and deseasonalized time series as well as one of all its extreme events.

Usage

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

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.

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.

radioEvdStatistics

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

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.

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

Details

Both the pure time series and the deseasonalized one are rendered using the dygraphs package. The extreme events are rendered using the ggplot2 package. For the later one clicking or brushing points enables the user to exclude them. This is handled by a reactive value returned by this function.

Value

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

Author(s)

Philipp Mueller

See Also

Other climex-plot: generalFitPlotOutput, generalFitPlot, generalTimeSeriesPlotOutput


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