Character. Names of each panel of the result. Defaults to the names
of the panels of the argument.
...
Other arguments are ignored.
nrow, ncol
See matrix.trellis. These arguments default to the levels
of x$layout if it is non-null.
Otherwise nrow==1 and ncol==dim(x).
Details
The one-dimensional object is converted to a two-dimensional object
which
is forwarded to the standard combineLimits function. The result
is converted back to a one-dimensional object.
Value
One-dimensional trellis object with combined xlim and ylim values across
all panels.
Author(s)
Richard M. Heiberger <rmh@temple.edu>
See Also
combineLimits
Examples
tmp <- data.frame(a=1:3,
b=c(4,5,7),
c=5:7,
d=c(8, 9, 12),
e=9:11)
tmp
a2 <- xyplot(a + b ~ c + d + e, data=tmp, outer=TRUE,
scales=list(relation="free"), main="a2")
a2
dim(a2)
combineLimits.trellisvector(a2)
a21 <- combineLimits.trellisvector(update(a2, layout=c(3,2)))
a21
dim(a21)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(HH)
Loading required package: lattice
Loading required package: grid
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS
Attaching package: 'TH.data'
The following object is masked from 'package:MASS':
geyser
Loading required package: gridExtra
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HH/combineLimits.trellisvector.Rd_%03d_medium.png", width=480, height=480)
> ### Name: combineLimits.trellisvector
> ### Title: Combine limits on a one-dimensional trellis object.
> ### Aliases: combineLimits.trellisvector
> ### Keywords: dplot
>
> ### ** Examples
>
> tmp <- data.frame(a=1:3,
+ b=c(4,5,7),
+ c=5:7,
+ d=c(8, 9, 12),
+ e=9:11)
> tmp
a b c d e
1 1 4 5 8 9
2 2 5 6 9 10
3 3 7 7 12 11
>
> a2 <- xyplot(a + b ~ c + d + e, data=tmp, outer=TRUE,
+ scales=list(relation="free"), main="a2")
> a2
> dim(a2)
[1] 6
> combineLimits.trellisvector(a2)
> a21 <- combineLimits.trellisvector(update(a2, layout=c(3,2)))
> a21
> dim(a21)
[1] 6
>
>
>
>
>
> dev.off()
null device
1
>