search for: stmean

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

Did you mean: tmean
2010 May 14
2
help color coding map in R
...l <- extendrange(us.map$range[1:2]) yl <- extendrange(us.map$range[3:4]) library(maps) library(lattice) library(latticeExtra) library(RColorBrewer) # creates nice color schemes library(classInt) plotclr <- brewer.pal(nclr,"PuRd") class <- classIntervals(NatSTSummaryHigh.abi$STMean, nclr, style="fisher" ) colcode <- findColours(class, plotclr) # Plot a multi-panel map of all the states, and colour xyplot(y~x | NatSTSummaryHigh.abi$PrimaryDX, data = state.center,groups=names(attr(colcode, "table")), main="High Cost States by Diagnosis ( > N...