From ripley at stats.ox.ac.uk  Wed Dec 16 13:01:24 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 16 Dec 2009 12:01:24 +0000 (GMT)
Subject: [Rd] Flexclust barchart issue when mcol=NULL (PR#14150)
In-Reply-To: <20091216060511.A32D0282EFF6@mail.pubhealth.ku.dk>
References: <20091216060511.A32D0282EFF6@mail.pubhealth.ku.dk>
Message-ID: <alpine.LFD.2.00.0912161200170.28313@gannet.stats.ox.ac.uk>

Please do read the section on 'BUGS' in the FAQ.
This is not the bug-reporting address for package 'flexclust'.

On Wed, 16 Dec 2009, christopher.a.hane at gmail.com wrote:

> Full_Name: Chris Hane
> Version: 2.10.1
> OS: Windows
> Submission from: (NULL) (198.203.181.181)
>
>
> When using barchart in the flexcust package, setting mcol=NULL to avoid the
> lollipops causes an error.  Each panel shows the text message "Error using
> packet n replacement has length zero." where n is the panel number.
>
>> data(iris)
>> cl <- cclust(iris[,-5], k=3)
>> barplot(cl, mcol=NULL)  #works fine
>> barchart(cl, mcol=NULL) # oops
>
> FWIW, as the data of the clusters is scaled showing the colMeans for the centers
> is misleading.  The global mean of each column is 0, not the colMean of the
> centers.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Flexclust barchart issue when mcol=NULL (PR#14150)
Prof Brian Ripley