search for: colseq

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

Did you mean: colse
2011 Aug 28
1
Help with levelplot color assignment in lattice
..., 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1)) library(lattice) library(grDevices) # For the color palette colpal <- colorRampPalette(c("white","yellow","red")) colseq <- seq(0,9,by=1) levelplot(level~ x* y, data = data, as.table = TRUE, at = colseq, region = TRUE, col.regions = colpal(10), colorkey = list(at = colseq, labels=list(at=colseq)), xlab="x", ylab="y&q...