2

I wonder how to draw a pie chart in given position of another plot.

I know how to put two plots in the same figure, using

plot(...)
line(...)

But this seems not working for pie chart. And I also want to specify where to draw the pie chart.

Could you please help? Thank you!

Ben Bolker
  • 192,494
  • 24
  • 350
  • 426
Roun
  • 1,369
  • 1
  • 17
  • 25

1 Answers1

3

You might try floating.pie from the plotrix package or Rgraphviz::pieGlyph ... also see

Community
  • 1
  • 1
Ben Bolker
  • 192,494
  • 24
  • 350
  • 426