Responsive Ad Area

Share This Post

test

Why do xyplot() and dotplot() generate different plots with the same arguments?

Why do the following codes generate different plots?
What’s the difference between xyplot() and dotplot()?

library(lme4)
library(lattice)
str(Dyestuff)

xyplot(reorder(Batch,Yield)~Yield,Dyestuff,ylab = "Batch", jitter.y = TRUE, pch = 21, aspect = 0.32,
   xlab = "Yield of dyestuff (grams of standard color)",
   type = c("p", "a","g"))

dotplot(reorder(Batch, Yield) ~ Yield, Dyestuff,
          ylab = "Batch", jitter.y = TRUE, pch = 21, aspect = 0.32,
          xlab = "Yield of dyestuff (grams of standard color)",
          type = c("p", "a"))


Why do xyplot() and dotplot() generate different plots with the same arguments?
Why do xyplot() and dotplot() generate different plots with the same arguments?
test
{$excerpt:n}

Share This Post

Leave a Reply

Your email address will not be Publishedd. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Skip to toolbar