title: R -- Plotrix Package, gap.boxplot function: Display Box Plot with Broken Axis/Gap
body: <p>I am a new R user and have limited experience coding, so I am guessing my problem in easily solved.  I have downloaded the plotrix package in order to use the function "gap.boxplot" within R.  I am trying to create a broken axis for a boxplot with one outlying data point.</p>
  
  <p>I have uploaded my data via .xls through the read.xls function in the pkg::gdata package.  My code so far looks like this:</p>
  
  <pre><code>boxplot(MaiBelaData$AlT ~ MaiBelaData$Site, xlab="Mai Bela Catchment (site)", 
          ylab="Dissolved Aluminum (mg/L)", col=terrain.colors(8), 
          par(cex.axis=0.5,cex.lab=1,cex.main=1.2))
  </code></pre>
  
  <p>The summary of my data is:</p>
  
  <p>Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's </p>
  
  <p>0.0010  0.0130  0.0450  0.6745  0.2860 28.0000       8 </p>
  
  <p>Where "MaiBelaData$AlT" contains my concentration data and "MaiBelaData$Site" specifies my site.</p>
  
  <p>I got a similar piece of code to work with a simple example:</p>
  
  <pre><code>gap.boxplot(MaiBelaData$AlT ~ MaiBelaData$Site, gap=list(top=c(25,15), bottom=c(NA,NA)))
  </code></pre>
  
  <p>But, when I run it with my data, i get this error:</p>
  
  <p>Error in gap.boxplot(MaiBelaData$AlT ~ MaiBelaData$Site, xlab = "Mai Bela Catchment (site)",  : 
    gap cannot include the median, interquartiles or the staples</p>