1

I am able to see labels if I use the simple 2d mosaic() function based on this example below.

labs <- round(prop.table(Titanic), 2)
mosaic(Titanic, pop = FALSE)
labeling_cells(text = labs, margin = 0)(Titanic)

However if i try to change this to mosaic3d then all the labels disappear and i see some black dots. Any help on how to add labels to mosaic3d plot is much appreciated.

Jill Sellum
  • 319
  • 2
  • 4
  • 14
  • The black dots are not meant to replace the labels. You need to say what you are trying to achieve. Labeling rgl plots has its difficulties. – IRTFM Feb 04 '16 at 07:45
  • @42- I agree, i am just trying to find out how to get the label function to work within the `mosaic3d` function similar to how it works within the vanilla 2d `mosaic` function using the Titanic dataset. – Jill Sellum Feb 06 '16 at 21:14

0 Answers0