# NOT RUN {
data(oregon.county10)
###Using plot
choropleth(oregon.county10,"P0010001",color = list(fun = "rainbow", attr = list(4)),main="2010 Counties \n Oregon",type="plot",border="transparent")
###Using spplot
choropleth(oregon.county10,"P0010001",main="2010 Counties \n Oregon",border="transparent",type="spplot")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab