TS_launch_app: Launch the camTS app Launches the app for viewing time series...

Description Usage Arguments Value

View source: R/TS_launch_app.R

Description

Launch the camTS app Launches the app for viewing time series data and associated images.

Usage

1
2
3
4
5
TS_launch_app(
  main_y = c(`Stream Stage (m)` = "Stage"),
  second_y = c(`Turbidity (NTU)` = "WT", `Temperature (C)` = "TW"),
  tz = "America/Los_Angeles"
)

Arguments

main_y

a named vector of options for the primary y axis. The name will be the name shown on the radio button, and the value should be the column name in the data. For example, an input like 'c("Stream Stage (m)" = "Stage")' tells the app to have a radio button called "Stream Stage (m)" that will be associated with the "Stage" column in the data. The app will open with the first item in the vector as the primary y-axis variable.

second_y

a named vector of options for the secondary y axis formatted the same way as the main_y parameter. A "none" option will be automatically added. The Shiny app will open with no variable on the secondary y axis.

tz

the timezone of your computer (not of the data!). Please refer to OlsonNames() for a list of valid timezones.

Value

A Shiny window


kaitlynstrickfaden/camTS documentation built on July 11, 2021, 10:46 a.m.