Description Usage Arguments Value Functions Examples
Server-side function for dynamic valueBox.
1 2 3 4 5 | render_value_box(expr, env = parent.frame(), quoted = FALSE)
renderValueBox(expr, env = parent.frame(), quoted = FALSE)
renderInfoBox(expr, env = parent.frame(), quoted = FALSE)
|
expr |
ValueBox. |
env |
The environment in which to evaluate expr. |
quoted |
Is expr a quoted expression (with |
A dynamic valueBox that can be assigned to output.
renderValueBox
: Create a value box output (alias for render_value_box
)
renderInfoBox
: Create a value box output (alias for render_value_box
)
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
valueBoxOutput("value_box")
output$value_box <- renderValueBox({
valueBox(
value = 33.45,
subtitle = "Simple valuebox",
icon = icon("bar chart"),
color = "purple",
width = 5)
})
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.