# NOT RUN {
GDPColor_CWR <- c("#6B8033", "#020303", "#0D77B9")
data(GDPmix)
# in colnames(GDPmix), there must be x, y, r, label.
# but right now, GDPmix has x, y, r, but lacks a label column, let's assign label to province column
colnames(GDPmix)[1] <- 'label'
# }
# NOT RUN {
plotScatterPie(GDPmix, pieRange = 4:6, pieColor = GDPColor_CWR)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab