Displaying 1 result from an estimated 1 matches for "dpratings".
Did you mean:
derating
2011 Oct 05
1
lattice-dotplot: resize axis
...|
a| .
-----------------
How can I correct this? What have I overlooked?
# code i've used (from latticeExtra/utilities/resize panels)
library(latticeExtra)
mean.ratings$item.name <-
with(mean.ratings, reorder(reorder(item, rating),
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.ratin...