[rkward-cvs] SF.net SVN: rkward:[2401] branches/release_branch_0.4.9/rkward/plugins/ plots/barplot.php
sjar at users.sourceforge.net
sjar at users.sourceforge.net
Thu Feb 19 23:22:28 UTC 2009
Revision: 2401
http://rkward.svn.sourceforge.net/rkward/?rev=2401&view=rev
Author: sjar
Date: 2009-02-19 23:22:28 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Added a logic to allow user to enter data from RKWards table GUI.
Modified Paths:
--------------
branches/release_branch_0.4.9/rkward/plugins/plots/barplot.php
Modified: branches/release_branch_0.4.9/rkward/plugins/plots/barplot.php
===================================================================
--- branches/release_branch_0.4.9/rkward/plugins/plots/barplot.php 2009-02-15 14:17:08 UTC (rev 2400)
+++ branches/release_branch_0.4.9/rkward/plugins/plots/barplot.php 2009-02-19 23:22:28 UTC (rev 2401)
@@ -37,6 +37,7 @@
<? } else { ?>
# barplot is a bit picky about attributes, so we need to convert to vector explicitely
if(!is.matrix(x)) x <- as.vector(x)
+if(!is.matrix(x) && is.data.frame(x)) x <- data.matrix(x)
<? }
if ($names_mode == "rexp") {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list