[R] formula version of sunflowerplot() fails when axis label specified

Gerrit Eichner Gerrit.Eichner at math.uni-giessen.de
Wed Jun 27 13:16:30 CEST 2012


Hello, R-help,

does anybody have already a work-around for the problem that the formula 
version of sunflowerplot() throws an error when provided with a value for 
xlab (or ylab) different from NULL:

> sunflowerplot( Sepal.Length ~ Sepal.Width, data = iris, xlab = "A")
Error in model.frame.default(formula = Sepal.Length ~ Sepal.Width, data = iris,  :
   variable lengths differ (found for '(xlab)')

And are you -- the one with the work-around -- willing to share it? :)

  Best regards  --  Gerrit

---------------------------------------------------------------------
Dr. Gerrit Eichner                   Mathematical Institute, Room 212
gerrit.eichner at math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
Fax: +49-(0)641-99-32109        http://www.uni-giessen.de/cms/eichner



More information about the R-help mailing list