rampa: Title

Description Usage Arguments Examples

View source: R/degradado.R

Description

Title

Usage

1
rampa(bd, variable, color_min, color_max)

Arguments

color_max

Examples

 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()

EAMI91/colorearmorant documentation built on Dec. 17, 2021, 5:36 p.m.