Description Usage Arguments Value Examples
View source: R/internal_functions.r
Obtains inter quantile average for a defined 'x' vector and both lower and upper quantiles
1 |
x |
numeric vector |
pal |
color palette |
limits |
numeric limit fr color mapping |
a color vector graded according to x
1 2 3 4 | x <- rnorm(100)
pal <- colorRampPalette(c("lightblue","white","salmon"))(256)
limits<-c(-1,1)
map2color(x,pal,limits)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.