# HG changeset patch # User moheydarian # Date 1491949036 14400 # Node ID eeff8405f1ac81a210f40b803a5c887a83e7899f # Parent 91a3a6189b35fa07f8fc8fc35a024a6326670287 Uploaded diff -r 91a3a6189b35 -r eeff8405f1ac ggplotscripthistogram.R --- 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..)) }