Learn R Programming

Greymodels (version 2.0.1)

app_server: Runs the Shiny app

Description

Runs the greymodels Shiny app

Usage

ui()
server(input, output)
run_app()

Value

No return value, runs the app

Arguments

ui

Controls the layout and appearance of the greymodels shiny app

input

Stores the current values of all of the widgets in the app

output

Contains all of the code needed to update the R objects in the app

server

Contains the instructions to build the greymodels shiny app

Examples

Run this code

# Only run this example in interactive R sessions

if (interactive()) {

library("shiny")
library("shinydashboard")
library("shinyWidgets")
library("readxl")
library("Metrics")
library("particle.swarm.optimisation")
library("cmna")
library("expm")
library("plotly")
library("ggplot2")
library("scales")
library("dplyr")

run_app <- function(){

  shiny::shinyApp(ui, server, options = list(launch.browser = TRUE))
}

}

Run the code above in your browser using DataLab