countBar | R Documentation |
shiny
element displaying a progress bar and observation count.
countBar(inputId, label, countmax, countnow = NULL, counttotal = countmax)
updateCountBar(
session = getDefaultReactiveDomain(),
inputId,
label,
countmax,
countnow = NULL,
counttotal
)
updateCountText(
session = getDefaultReactiveDomain(),
inputId,
label,
countmax,
countnow
)
inputId |
( |
label |
( |
countmax |
( |
countnow |
( |
counttotal |
( |
session |
( |
A progress bar is created to visualize the number of counts in a variable, with filling and a text label.
progress bar width is derived as a fraction of the container width: style = "width: <countmax> / <counttotal>%"
,
progress bar is filled up to the fraction <countnow> / <countmax>
,
text label is obtained by <label> (<countnow> / <countmax>)
.
shiny.tag
object with a progress bar and a label.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.