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
  • 211,554
  • 25
  • 370
  • 453
Roun
  • 1,449
  • 1
  • 18
  • 25

1 Answers1

3

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

Community
  • 1
  • 1
Ben Bolker
  • 211,554
  • 25
  • 370
  • 453