diff histogramdiscrete.r @ 51:bfd966f30073 draft

Uploaded
author guerler
date Thu, 05 Jun 2014 13:37:22 -0400
parents f92f68399023
children
line wrap: on
line diff
--- a/histogramdiscrete.r	Thu Jun 05 13:36:23 2014 -0400
+++ b/histogramdiscrete.r	Thu Jun 05 13:37:22 2014 -0400
@@ -11,8 +11,8 @@
         column <- as.numeric(columns[key])
         
         # ensure string column
-        column_data <- sapply( table[column], as.character )
-        
+        column_data <- as.character(table[column][[1]])
+    
         # collect vectors in list
         m <- append(m, list(column_data))
     }