I have the following graphic where I drop unused factors in the x axis, however
I cannot get the first point on the second panel. It seems shifted. Any ideas?
The example is below:
data - data.frame(
Room=as.factor(c(132,132,132,132,132,132,132,132,132,196,196)),
I have the following graphic where I drop unused factors in the x axis, however
I cannot get the first point on the second panel. It seems shifted. Any ideas?
The example is below:
data - data.frame(
Room=as.factor(c(132,132,132,132,132,132,132,132,132,196,196)),
That's note the only problem. The point (B, 14) is plotted at (C, 14).
Your problem is that:
factor(letters)[2:3, drop = TRUE]
[1] b c
Levels: b c
so now b has level 1 and c has level 2 so if you try to plot b from the
original factors where it was 2 it will show up above c and c will not