changeset 50:12eb81b00cd9 draft

Uploaded
author guerler
date Thu, 05 Jun 2014 13:36:23 -0400
parents 19dc8d7aa87b
children bfd966f30073
files histogram.r
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/histogram.r	Thu May 15 15:47:07 2014 -0400
+++ b/histogram.r	Thu Jun 05 13:36:23 2014 -0400
@@ -9,8 +9,8 @@
     for (key in names(columns)) {
         # load column data
         column <- as.numeric(columns[key])
-        column_data <- sapply( table[column], as.numeric )
-
+        column_data <- suppressWarnings(as.numeric(as.character(table[column][[1]])))
+        
         # collect vectors in list
         m <- append(m, list(column_data))
     }