Description Arguments Examples
View source: R/valueboxprint.R
This function will refactor the renderValuebox into a single function thaht can be called within the app
input |
The input argument (default) |
df |
A dataset which want to summarise (a reactive dataset from newdate function) |
x |
The number of column from x that contains values |
label |
A character vector subtitle that we want to show in value box ("confirmed, death, recovered") |
colors |
A character vector of the available colors (Valid colors are: red, yellow, aqua, blue, light-blue, green, navy, teal, olive, lime, orange, fuchsia, purple, maroon, black.) |
1 | valueboxprint(input = input, df = newdate(input)(), x = 7, label = "recovered", colors = "aqua")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.