search for: dffn

Displaying 1 result from an estimated 1 matches for "dffn".

Did you mean: dfff
2011 Dec 22
1
levelplot + cut() for custom color palette
...- red [80, Inf) -- black In other words, I want to color any cell with the level of 100 (or greater than 80) with black, and any cell with a level between 0 and 80 with a color between white and red. Here is my code: ----------------- #! /foo/bar/bin/Rscript --vanilla args <- commandArgs(TRUE) dfFn <- args[1] pdfFn <- args[2] df <- read.table(dfFn, col.names=c("x", "y", "level")) df$le...