R/col.fn.R

#Currently used as a helper function in converting the colors from the venn 
#diagrams 
col.fn <-
function(col, alpha=0.3) {
    col<- hcl(col * 360, 130, 60)
    col <- col2rgb(col)/255
    col <- rgb(col[1, ], col[2, ], col[3, ], alpha)
    col
}
trinker/qdap2 documentation built on May 31, 2019, 9:47 p.m.