Description Usage Arguments Examples
View source: R/degradado.R
Title
1
rampa(bd, variable, color_min, color_max)
color_max
1 2 3 4 5 6 7 8 9 10
Ejemplo library(dplyr) library(ggplot2) library(grDevices) bd <- tibble(a = letters, b= rnorm(length(letters))) bd %>% rampa(b, "white","red") %>% ggplot(aes(x = b, y = fct_reorder(a,b), fill = color)) + geom_col( ) + scale_fill_identity()
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.