dashboardPlotOe: Create interactive Shiny app to view Observed/Expected output...

Description Usage Arguments Value

View source: R/dashboardPlotOe.R

Description

dashboardPlotOe Creates an interactive Shiny plot to explore Observed/Expected results generated in the function excessCases. Drop down menus allow for viewing Observed/Expected by different age groups and geographies.

Usage

1
2
3
4
5
6
7
8
9
dashboardPlotOe(
  excess_output,
  datevar,
  agevar,
  statevar,
  outcome,
  yaxis,
  facet
)

Arguments

excess_output

Provide the object returned by the function excessCases

datevar

Provide the datevar used in the function excessCases

agevar

Provide the agevar used in the function excessCases

statevar

Provide the statevar geographic variable used in the function excessCases

outcome

Provide one of the outcomes / syndromes of interest excessCases

yaxis

Provide the variable intended for the y-axis (either agevar or statevar) excessCases

facet

Provide the variable intended for the facet groupings (either agevar or statevar) excessCases

Value

Returns an object representing the shinyapp. Depending on the environment (RStudio vs. console) the app may then be passed to print(), which will start the server. Refer to link[shiny]{shinyApp} for more details.


weinbergerlab/ExcessILI documentation built on May 30, 2021, 10:57 a.m.