diff ggplotscripthistogram.R @ 11:79c3ce7cc6c4 draft

Uploaded
author moheydarian
date Sun, 12 Mar 2017 20:10:03 -0400
parents 90be6d1315a4
children ed06f51b00ef
line wrap: on
line diff
--- a/ggplotscripthistogram.R	Sun Mar 12 20:09:23 2017 -0400
+++ b/ggplotscripthistogram.R	Sun Mar 12 20:10:03 2017 -0400
@@ -59,9 +59,9 @@
 input <- melt(integrated)
 
 #Show/hide legend
-if(options$legend == "TRUE"){
+if(options$legend == "yes"){
     gg_legend = NULL
-} else {options$legend == "FALSE"
+} else {options$legend == "no"
     gg_legend = theme(legend.position="none")
 }