Nothing
#' @importFrom dplyr lag
#' @importFrom tibble tibble
#' @importFrom utils tail
prop_value <- function(L){
props <- L$counts / sum(L$counts)
labs <- paste0("[", dplyr::lag(L$breaks), ", ", L$breaks, ")")[-1]
return(tibble(value = labs, prop = props))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.