[R-gregmisc-users] SF.net SVN: r-gregmisc: [1141] trunk/gplots/R/balloonplot.R
Brought to you by:
warnes
From: <wa...@us...> - 2007-08-14 19:14:15
|
Revision: 1141 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1141&view=rev Author: warnes Date: 2007-08-14 12:14:14 -0700 (Tue, 14 Aug 2007) Log Message: ----------- Correct error in balloonplot when z contains NA values. Modified Paths: -------------- trunk/gplots/R/balloonplot.R Modified: trunk/gplots/R/balloonplot.R =================================================================== --- trunk/gplots/R/balloonplot.R 2007-08-14 18:48:36 UTC (rev 1140) +++ trunk/gplots/R/balloonplot.R 2007-08-14 19:14:14 UTC (rev 1141) @@ -75,7 +75,7 @@ scale.method <- match.arg(scale.method) - if( any(z < 0 ) ) + if( any(z < 0, na.rm=TRUE ) ) warning("z value(s) below zero detected.", " No balloons will be displayed for these cells.") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |