SCM

SCM Repository

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

Diff of /pkg/man/horizonplot.Rd

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

revision 192, Wed Dec 30 12:37:55 2015 UTC revision 193, Thu Dec 31 10:45:11 2015 UTC
# Line 15  Line 15 
15  horizonplot(x, data, \dots)  horizonplot(x, data, \dots)
16    
17  \S3method{horizonplot}{default}(x, data = NULL, \dots,  \S3method{horizonplot}{default}(x, data = NULL, \dots,
18                nbands = 3L,
19      horizonscale = NA,      horizonscale = NA,
20      origin = function(y) na.omit(y)[1],      origin = function(y) na.omit(y)[1],
21      colorkey = FALSE, legend = NULL,      colorkey = FALSE, legend = NULL,
22      panel = panel.horizonplot,      panel = panel.horizonplot,
23      prepanel = prepanel.horizonplot,      prepanel = prepanel.horizonplot,
24      col.regions =              col.regions = brewer.pal(n = 2 * nbands, name = "RdYlBu"),
     c("#B41414","#E03231","#F7A99C","#9FC8DC","#468CC8","#0165B3"),  
25      strip = FALSE, strip.left = TRUE,      strip = FALSE, strip.left = TRUE,
26      par.strip.text = list(cex = 0.6),      par.strip.text = list(cex = 0.6),
27      colorkey.digits = 3,      colorkey.digits = 3,
28                layout = c(1, NA),
29      groups = NULL,      groups = NULL,
30      default.scales =      default.scales =
31        list(y = list(relation = "free", axs = "i",        list(y = list(relation = "free", axs = "i",
32                      draw = FALSE, tick.number = 2)))                      draw = FALSE, tick.number = 2)))
33    
34  panel.horizonplot(x, y, ..., border = NA, col.regions =  panel.horizonplot(x, y, ..., border = NA,
35      c("#B41414","#E03231","#F7A99C","#9FC8DC","#468CC8","#0165B3"),                    nbands = 3L,
36                      col.regions = brewer.pal(n = 2 * nbands, name = "RdYlBu"),
37      origin)      origin)
38    
39  prepanel.horizonplot(x, y, ..., horizonscale = NA,  prepanel.horizonplot(x, y, ..., horizonscale = NA,
40                         nbands = 3L,
41      origin = function(y) na.omit(y)[1])      origin = function(y) na.omit(y)[1])
42  }  }
43    
# Line 54  Line 57 
57      In typical usage, the method of \code{xyplot} called will be      In typical usage, the method of \code{xyplot} called will be
58      \code{\link{xyplot.ts}}.      \code{\link{xyplot.ts}}.
59    }    }
60      \item{nbands}{ Integer giving the number of discrete color bands used
61        (for both negative and positive deviations from the origin). }
62    \item{horizonscale}{    \item{horizonscale}{
63      the scale of each color segment. There are 3 positive      the scale of each color segment. There are 3 positive
64      segments and 3 negative segments. If this is a given as a      segments and 3 negative segments. If this is a given as a
# Line 96  Line 101 
101    \item{colorkey.digits}{    \item{colorkey.digits}{
102      digits for rounding values in colorkey labels.      digits for rounding values in colorkey labels.
103    }    }
104      \item{layout}{
105        Numeric vector of length 2 (or 3) specifying number of columns and
106        rows (and pages) in the plot. The default is to have one column and
107        as many rows as there are panels.
108      }
109    \item{default.scales}{    \item{default.scales}{
110      sets default values of \code{scales}; leave this alone, pass      sets default values of \code{scales}; leave this alone, pass
111      \code{scales} instead.      \code{scales} instead.

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

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