Box1: Box1 Server module

Description Usage Arguments Details Author(s)

View source: R/Box1.R

Description

Shiny Server Module for use with Box1UI

Usage

1
2
3
4
5
6
Box1(input, output, session, progress.bar.value = 0,
  progress.bar.status = "primary", stars.total = 5, stars.grade = 0,
  stars.color = "blue", label.title = "Watchlist",
  label.status = "primary", brief.description = "Description of test",
  display.plot = graphics::hist(x = c(6, 7, 8)),
  plot.text = "Plot values")

Arguments

input

shiny input

output

shiny output

session

shiny session

progress.bar.value

the progress bar value to diplay on calculating

progress.bar.status

the status of the progress bar which determines the colors. Eg: "primary", "info", "warning", "danger", "success"

stars.total

total number of stars to display

stars.grade

total number of stars to fill out of the total displayed stars

stars.color

color of the stars

label.title

label to indicate the test results

label.status

label status which determines the label colors. Eg: "primary", "info", "warning", "danger", "success"

brief.description

a line or two description of the test

display.plot

plot to show

plot.text

text to show under the plot

Details

Call via shiny::callModule(Box1, "your_id", ...)

Author(s)

Revanth Nemani, raynemani@gmail.com


RevanthNemani/riskProbeShiny documentation built on Feb. 8, 2020, 8:58 a.m.