Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Produce both boxplot and violin plots

If violin plots could be made equal width, they would probably suffice but that won't be the case until the next version of ggplot
  • Loading branch information...
commit fa70967d53eb31372a3edba5046e10103fae08e6 1 parent c72c5fb
@jiho authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 library/lib_bioreg.R
View
5 library/lib_bioreg.R
@@ -279,9 +279,8 @@ bioreg <- function(variables, n.groups=12, lat.min=-80, lat.max=-30, lat.step=0.
if (!output) devAskNewPage(TRUE)
# plot of variables distributions within each cluster
- variablesPlot <- plot.bioreg(data.raw)
- # TODO plot both violin and boxplots
- print(variablesPlot)
+ print(boxplotPlot <- plot.bioreg(data.raw, geom="boxplot"))
+ print(violinPlot <- plot.bioreg(data.raw, geom="violin"))
# Image map
clusterPlot <- plot.pred.bioreg(data.raw, quick=quick)
Please sign in to comment.
Something went wrong with that request. Please try again.