mapFunctionsColors | R Documentation |
map functions to color coding
mapFunctionsColors(row1, col1, colors)
row1 |
character vector containing names of packages |
col1 |
character vector containing names of packages |
colors |
character vector containing names of colors |
returns a character vector mapping colors to package names
if(interactive()){
colors<-c("darkmagenta","darkolivegreen","darkorange3","brown4","red","blue")
load("data/x_m3.RData")
colorMap<-mapFunctionsColors(x_m3[1,c(-1,-2)],x_m3[c(-1,-2),1],colors)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.