SCM

SCM Repository

[latticeextra] Diff of /pkg/man/panel.xblocks.Rd
ViewVC logotype

Diff of /pkg/man/panel.xblocks.Rd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 193, Thu Dec 31 10:45:11 2015 UTC revision 194, Fri Jan 1 11:17:13 2016 UTC
# Line 112  Line 112 
112    
113  ## highlight values above and below thresholds.  ## highlight values above and below thresholds.
114  ## blue, gray, red colors:  ## blue, gray, red colors:
115  rgb <- hcl(c(0, 0, 260), c = c(100, 0, 100), l = c(90, 90, 90))  bgr <- hcl(c(0, 0, 260), c = c(100, 0, 100), l = c(90, 90, 90))
116  xyplot(flow) +  dflow <- cut(flow, c(0,15,30,Inf), labels = bgr)
117    layer_(panel.xblocks(time(flow),  xyplot(flow) + layer_(panel.xblocks(time(flow), dflow))
          cut(flow, c(0,15,30,Inf), labels = rgb)))  
118    
119  ## Example of highlighting gaps (NAs) in time series.  ## Example of highlighting gaps (NAs) in time series.
120  ## set up example data  ## set up example data

Legend:
Removed from v.193  
changed lines
  Added in v.194

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge