0

I have a hard time understanding why the use of direct references with $ impacts the result of qplot with facets...

Why don't I get 5 dots aligned at (0,0) with this code?

data(Orange)
qplot(circumference-Orange$circumference, age-Orange$age, data=Orange, facets = ~Tree)
gijom
  • 1
  • 1
  • I could spend a while digging around in the sources, but the precise code causing this wouldn't be very enlightening. The point is that `qplot` simply isn't expecting you to mix standard and nonstandard evaluation in this way. – joran Jun 24 '16 at 21:52
  • ...i.e. the tldr in baptiste's linked answer. – joran Jun 24 '16 at 21:55
  • Thanks, I will try to search better next time. One may wonder why the tool does not error out when the unreliable combination of inputs is used. – gijom Jun 26 '16 at 17:10

0 Answers0