Description Usage Arguments Value
View source: R/dashboardPlotOe.R
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.
1 2 3 4 5 6 7 8 9 | dashboardPlotOe(
excess_output,
datevar,
agevar,
statevar,
outcome,
yaxis,
facet
)
|
excess_output |
Provide the object returned by the function
|
datevar |
Provide the datevar used in the function
|
agevar |
Provide the agevar used in the function
|
statevar |
Provide the statevar geographic variable used in the function
|
outcome |
Provide one of the outcomes / syndromes of interest
|
yaxis |
Provide the variable intended for the y-axis (either agevar or statevar)
|
facet |
Provide the variable intended for the facet groupings (either agevar or statevar)
|
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.