Learn R Programming

SciencesPo (version 1.4.1)

RunShinyApp: Examples from the SciencesPo Package

Description

Launch a Shiny app that shows a demo.

Usage

RunShinyApp(app)

Arguments

app
the name of the shiny application.

Examples

Run this code
# A demo of what \code{\link[SciencesPo]{PoliticalDiversity}} does.
if (interactive()) {
RunShinyApp("PoliticalDiversity")
}

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

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

Run the code above in your browser using DataLab