demoShiny: demoShiny

Description Usage Arguments Value Examples

View source: R/demoShiny.R

Description

Runs a Shiny app as demo or shows an overview of all Shiny demo apps related to a topic. If more than one app relates to topic a list of apps is returned otherwise the app is run. For more details see vignettes('demoShiny').

Usage

1
demoShiny(topic)

Arguments

topic

character: the topic which should be demonstrated

Value

nothing

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# collect all apps of loaded packages
demoShiny() 
# collect all apps of the package demoShiny or with the name demoShiny
demoShiny('demoShiny') 
if(interactive()) {
  demoShiny('demoShiny::hist') 
  demoShiny('silhouette') 
  # use partial matching
  demoShiny('silh') 
}

demoShiny documentation built on March 26, 2020, 7:34 p.m.