[R] spplot cuts

bbolker bbolker at gmail.com
Wed Sep 29 20:26:54 CEST 2010



  Hmmm.  Maybe a documentation typo in ?spplot.
  If you follow the documentation through to ?levelplot, you find
that 

    cuts: number of levels the range of ‘z’ would be divided into

(no mention of actual breakpoints) but:

     at: numeric vector giving breakpoints along the range of ‘z’.
          Contours (if any) will be drawn at these heights, and the
          regions in between would be colored using ‘col.regions’.  In
          the latter case, values outside the range of ‘at’ will not be
          drawn at all.  This serves as a way to limit the range of the
          data shown, similar to what a ‘zlim’ argument might have been
          used for.  However, this also means that when supplying ‘at’
          explicitly, one has to be careful to include values outside
          the range of ‘z’ to ensure that all the data are shown.

 So you might try 'at' instead of 'cuts'.



-- 
View this message in context: http://r.789695.n4.nabble.com/spplot-cuts-tp2716237p2719533.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list