[R] my R query

arindam fadikar arindam.fadikar at gmail.com
Tue Sep 27 19:47:42 CEST 2011


I have made a level plot in R of a variable using the lattice package.
This grid corresponds to South Asia. I am only interested in viewing
the values of this variable (aerosol optical depth) for certain
countries in South Asia. I have a dummy variable that takes the value
1 for the countries I am interested in and 0 otherwise. Is it possible
for me to colour this part of the grid black or any other colour?



Here is my R code:

levelplot(aod ~ longitude + latitude | factor(day), data = aod_Jan,
  aspect="iso", contour = TRUE, layout=c(1,1))



-- 
Arindam Fadikar
M.Stat
Indian Statistical Institute.
New Delhi, India
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aod_Jan_2001.pdf
Type: application/pdf
Size: 63752 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110927/74adccc5/attachment.pdf>


More information about the R-help mailing list