Añadir función col2

This commit is contained in:
Costa
2022-02-03 17:32:43 +01:00
parent e88abb5cb5
commit 45998a290b
2 changed files with 15 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
col2 <- colorRampPalette(rev(c("#67001F", "#B2182B", "#D6604D", "#F4A582",
"#FDDBC7", "#FFFFFF", "#D1E5F0", "#92C5DE",
"#4393C3", "#2166AC", "#053061")))
+12
View File
@@ -0,0 +1,12 @@
\name{col2}
\alias{col2}
\title{Col2}
\usage{
col2(n)
}
\description{
Generates a palette of blue-white-red.
}
\examples{
col2(100)
}