Displaying 3 results from an estimated 3 matches for "resizepanels".
2011 Jun 02
1
ylab spacing in resizePanels in latticeExtra
...chart(matrix(1:6,3,2))
C <- barchart(matrix(1:8,4,2))
ABC <- c(A, B, C, x.same=TRUE, layout=c(1,3))
ABCu <- update(ABC,
ylab=list(c("AAA", "BBB", "CCC"), rot=0))
update(ABCu, main="ylab is centered on each of the panels")
ABCur <- resizePanels(ABCu,
h=c(5,3,4))
update(ABCur, main="ylab is centered on previous panel positions.")
[[alternative HTML version deleted]]
2011 Oct 05
1
lattice-dotplot: resize axis
...as.numeric(ItemGroup)))
dpratings <-
dotplot(item.name ~ rating | reorder(ItemGroup, rating),
data = mean.ratings, layout = c(1, 6), xlim=c(1,6),
aspect = .1,
scales = list(y = list(relation = "free", cex=.5)))
## approximate
resizePanels(dpratings,
h = with(mean.ratings, table(reorder(ItemGroup, rating))))
thanks,
Ren?
2013 Jan 20
2
Lattice levelplot- remove unused levels per panel
Hi,
I am using levelplot, and would like remove from each panel (condition) its
unused x levels.
e.g.
Remove from panel vs=1 the cyl level=8.
data(mtcars)
levelplot(mpg~factor(cyl)*factor(gear)|factor(vs))
Thanks for your help,
Ronny
--
View this message in context: http://r.789695.n4.nabble.com/Lattice-levelplot-remove-unused-levels-per-panel-tp4656087.html
Sent from the R help mailing