RunShinyApp: Examples from the SciencesPo Package

Description Usage Arguments Examples

Description

Launch a Shiny app that shows a demo.

Usage

1

Arguments

app

the name of the shiny application.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# A demo of what \code{\link[SciencesPo]{PoliticalDiversity}} does.
if (interactive()) {
runShinyApp("PoliticalDiversity")
}

# Other examples
if (interactive()) {
 runShinyApp("ConjugateNormal")
}

if (interactive()) {
 runShinyApp("Regression")
}

danielmarcelino/SciencesPo documentation built on Oct. 20, 2019, 1:15 a.m.