Re: [R] Masking oceans using polypath

2013-07-17 Thread Louise Wilson
a more sophisticated map outline via a "shapefile" (see the 'sp' > package and the 'maptools' package and possibly the R-sig-geo mailing list). > > Hope that helps. > > Paul > > > On 07/16/13 23:17, Louise Wilson wrote: > >> library(mapdata

[R] Masking oceans using polypath

2013-07-16 Thread Louise Wilson
Hi R-help I am trying to mask the ocean from an image plot I have made. Here is some example code: library(mapdata) image(x=110:155, y =-40:-10, z = outer(1:45, 1:30, "+"), xlab = "lon", ylab = "lat") outline <- map("worldHires", plot=FALSE) # returns a list of x/y coords xrange <- ra

[R] (no subject)

2012-10-11 Thread louise wilson
ev”,nboots=1000) Any advice? Regards, Louise Wilson -- *Louise Wilson* Climate Projections Project Officer CSIRO Climate Adaptation Flagship National Resource Management (NRM) Pacific-Australia Climate Change Science and Adaptation Planning Program (PACCSAP) CSIRO Marine and Atmos