[R] How to draw Bubble chart with mini pie charts as bubbles
Karl Ropkins
K.Ropkins at its.leeds.ac.uk
Sun Jun 15 12:51:41 CEST 2014
Dear Amir,
There are a couple of panel functions in loa, a package of lattice add-ins, that might be of help:
require(loa)
# Use a subsample of lat.lon.meuse dataset in loa
temp <- lat.lon.meuse[sample(1:155, 15),]
# plot Cu/Pb/Zn pie plots at sampling locations
loaPlot(copper+lead+zinc~longitude*latitude, panel=panel.zcasePiePlot, data=temp)
# then rescale smaller pie segments on the fly
loaPlot(copper*10+lead*4+zinc~longitude*latitude, panel=panel.zcasePiePlot, data=temp)
Best Wishes,
Karl
------------------------------
Message: 5
Date: Sat, 14 Jun 2014 13:03:21 -0700 (PDT)
From: Agony <agony_jah at yahoo.com>
To: r-help at r-project.org
Subject: [R] How to draw Bubble chart with mini pie charts as bubbles
in R
Message-ID:
<1402776201.7516.YahooMailBasic at web120401.mail.ne1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Dear all,
Good day!
Could anybody help me how to draw a bubble chart with mini pie charts as bubbles in R ?
Introducing any experiences, books, booklet or source code will appreciated.
Bunch of thanks.
Best,
Amir
More information about the R-help
mailing list