diff histogram.r @ 50:12eb81b00cd9 draft

Uploaded
author guerler
date Thu, 05 Jun 2014 13:36:23 -0400
parents b84a193361be
children
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))
     }