scale_color_ksnet_continuous | R Documentation |
Paleta continua de colores de KSNET (color)
scale_color_ksnet_continuous(palette = "verde", reverse = FALSE, ...)
palette |
Nombre de la paleta ("verde", "gris", "amarillo", "rojo", "verde_amarillo", "rojo_amarillo") |
reverse |
Booleano para revertir la paleta (TRUE o FALSE) |
... |
Argumentos adicionales |
library(ggplot2)
library(dplyr)
x <- rnorm(100)
y <- rnorm(100, x, 1)
z <- rnorm(100)
mis_datos <- data.frame(variable = x, valor = y, valor2 = z)
mis_datos %>%
ggplot(aes(x = variable, y = valor, color = valor2)) +
geom_point() +
scale_color_ksnet_continuous() +
theme_ksnet()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.