problem while putting labels outside

Dear R community,

I am trying to put labels outside but not getting any possible way. Please somebody try to help me?
library(MASS)
library(plotrix)
table <- table(Cars93$Type)
frame <- data.frame(table)
frame$rel <- round(frame$Freq/sum(frame$Freq), digits = 2)
lbls <- paste(frame$Var1, frame$rel, "%")
pie3D(table, labels = lbls, radius = 2, explode = 0.2,
height = 0.1, main = "Distribution of car types")

Thanks in advance

Rahul

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.