Dear helpeRs,
anyone knows how to obtain a stacked area chart in R?
I mean one of the graph that is used for representing compositional
data along time.
Thanks in advance,
domenico
__
R-help@stat.math.ethz.ch mailing list
--- Domenico Vistocco [EMAIL PROTECTED] wrote:
Dear helpeRs,
anyone knows how to obtain a stacked area chart in
R?
I mean one of the graph that is used for
representing compositional
data along time.
Thanks in advance,
domenico
I wish to do a stacked area chart to show how relative proportions of species
within a stand have changed over time.
I know this is simple, but can someone point me to the right function (if it
exists). I have not had any luck finding it in the R-help, but maybe I am
searching using the wrong
On Tue, 16 Aug 2005 12:03:01 -0400 Mike Saunders wrote:
I wish to do a stacked area chart to show how relative proportions of
species within a stand have changed over time.
If you don't want to show the marginal distribution over time, then you
can use barplot() on the table of relative
Maybe this is useful:
stackedPlot - function(data, time=NULL, col=1:length(data), ...) {
if (is.null(time))
time - 1:length(data[[1]]);
plot(0,0
, xlim = range(time)
, ylim = c(0,max(rowSums(data)))
, t=n
, ...
);
for (i in length(data):1) {
At 16:03 16/08/05, Mike Saunders wrote:
I wish to do a stacked area chart to show how relative proportions of
species within a stand have changed over time.
I know this is simple, but can someone point me to the right function (if
it exists). I have not had any luck finding it in the R-help,