changeset 23:eeff8405f1ac draft

Uploaded
author moheydarian
date Tue, 11 Apr 2017 18:17:16 -0400
parents 91a3a6189b35
children b9118a9b5109
files ggplotscripthistogram.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ggplotscripthistogram.R	Tue Apr 11 18:17:08 2017 -0400
+++ b/ggplotscripthistogram.R	Tue Apr 11 18:17:16 2017 -0400
@@ -73,7 +73,7 @@
 } else if(options$density == "ndensity"){
     gg_density = ggplot(input,aes(value, ..ncount..,color=variable))
     gg_freq = NULL
-} else if(options$density == "density"){
+} else if(options$density == "freq"){
     gg_density = ggplot(input,aes(value,color=variable))
     gg_freq = aes(y=..count../sum(..count..))
 }