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")
}

SciencesPo documentation built on May 29, 2017, 9:28 p.m.