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

From: <christopher.a.hane_at_gmail.com>
Date: Wed, 16 Dec 2009 07:05:11 +0100 (CET)

Full_Name: Chris Hane
Version: 2.10.1
OS: Windows
Submission from: (NULL) (

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 Received on Wed 16 Dec 2009 - 11:51:56 GMT

This archive was generated by hypermail 2.2.0 : Wed 16 Dec 2009 - 15:41:09 GMT