inst/virtual_patient_simulator/bs4/ui.R

#-------------------------------------------------------------------------
#  This UI code contains the global UI of the application. It calls
#  header, body and sidebar (which is NULL in this case) and load all
#  javascript libraries such as shinyJS, extendShinyjs, MathJax... as well
#  as the theme by default which is cerulean (can be changed with theme selector)
#
#  David Granjon, the Interface Group, Zurich
#  December 4th, 2017
#
#  bsplus only works with R > 3.3, so pay attention to update R before installing
#  other packages. On shiny-server, always install R packages by running R in the
#  shiny folder. Put the app in src/shiny-server/myApp and access via:
#  server_ip:3838/myApp
#
#-------------------------------------------------------------------------

# Define UI
#header_box_network,
ui <- bs4DashPage(
  # options
  enable_preloader = TRUE,
  sidebar_collapsed = TRUE,
  controlbar_collapsed = TRUE,
  title = "Virtual Patient Simulator",
  # content
  navbar = navbar,
  sidebar = sidebar,
  body = body,
  footer = footer,
  controlbar = dashboardControlbar
)

Try the CaPO4Sim package in your browser

Any scripts or data that you put into this service are public.

CaPO4Sim documentation built on March 21, 2021, 9:06 a.m.