Mercurial > repos > moheydarian > ggplot_histogram
diff ggplotscripthistogram.R @ 28:1d1518b029d1 draft
Uploaded
| author | moheydarian |
|---|---|
| date | Tue, 11 Apr 2017 18:35:55 -0400 |
| parents | b4d1be4880da |
| children |
line wrap: on
line diff
--- a/ggplotscripthistogram.R Tue Apr 11 18:35:47 2017 -0400 +++ b/ggplotscripthistogram.R Tue Apr 11 18:35:55 2017 -0400 @@ -70,7 +70,7 @@ if(options$density == "counts"){ gg_density = ggplot(input,aes(value, color=variable)) gg_freq = NULL -} else if(options$density == "cat"){ +} else if(options$density == "nfreq"){ gg_density = ggplot(input,aes(value, ..ncount.., color=variable)) gg_freq = NULL } else if(options$density == "freq"){
