
Last chance! 50% off unlimited learning
Sale ends in
Server-side function for dynamic valueBox.
render_value_box(expr, env = parent.frame(), quoted = FALSE)renderValueBox(expr, env = parent.frame(), quoted = FALSE)
renderInfoBox(expr, env = parent.frame(), quoted = FALSE)
ValueBox.
The environment in which to evaluate expr.
Is expr a quoted expression (with quote()
)?
This is useful if you want to save an expression in a variable.
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
)
# NOT RUN {
valueBoxOutput("value_box")
output$value_box <- renderValueBox({
valueBox(
value = 33.45,
subtitle = "Simple valuebox",
icon = icon("bar chart"),
color = "purple",
width = 5)
})
# }
Run the code above in your browser using DataLab