R/valuebox.R

Defines functions valuebox

Documented in valuebox

#' @name valuebox
#' 
#' @title Refactor the ValueBoxOutput()
#'
#' @description This function will refactor the ValueBoxOutput() into a single function
#'
#' @param id The character vector of InputId
#'
#' @examples valuebox("confirmed")
#' valuebox("recovered")
#' valuebox("death")
#'
#'
#' @export
library(shinydashboard)
valuebox <- function(id){
  shinydashboard::valueBoxOutput(id, width=3)
} 
etc5523-2020/r-package-assessment-whysptra documentation built on Jan. 1, 2021, 1:13 a.m.