Hi,
I am trying to create a dotplot where each panel shows levels vs.
responses; the levels are sorted by responses but levels vary from one
panel to another. However, I run into problems with controlling the
y-limits and y-labels.
In particular, suppose I have a data frame
rsp -
Hi:
Based on an old R-help post,
http://tolstoy.newcastle.edu.au/R/e2/help/06/09/1579.html
I managed to get the desired plot with the following call:
dotplot(reorder(lvl, rsp) ~ rsp | cat, data = xx,
type = c('h', 'p'), layout = c(1, 2),
scales = list(y = list(relation = 'free', rot =
Subject: Re: [R] lattice dotplot with missing levels in factor variable
Based on an old R-help post,
*http://tolstoy.newcastle.edu.au/R/e2/help/06/09/1579.html
I managed to get the desired plot with the following call:
dotplot(reorder(lvl, rsp) ~ rsp | cat, data = xx,
type = c(
'h', 'p'), layout
3 matches
Mail list logo