<div dir="ltr">thank you so much!! works like a charm and I would never have figured it out on my own</div><div class="gmail_extra"><br><div class="gmail_quote">On 18 April 2017 at 16:46, affableambler [via R] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4732735&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hi Susan,
<br><br>This will require reshaping the data:
<br><span class=""><br>data<-read.table('E:\\<wbr>Libraries\\Documents\\WCM4.<wbr>txt',sep='\t',header=T,<wbr>stringsAsFactors = F) 
<br><br></span>library(reshape2)
<br><br>#Melt the data into three columns with 70 rows:
<br>melted_data<-melt(data,id.vars = 1, measure.vars = 2:6)
<br><br>#Plot using ggplot2
<br>library(ggplot2)
<br>plot<- ggplot(data = melted_data, aes(x=x, y=value)) 
<br>plot <- plot + stat_boxplot(geom ='errorbar',aes(group=x))  
<br>plot <- plot + geom_boxplot(aes(group=x)) 
<br>plot <- plot + scale_x_continuous(breaks = 1:14, labels = 1:14) 
<br><br>I also noticed that in rows 2 and 14, the "upper" is greater than "ymax."  Maybe the data was entered incorrectly?

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </span><a href="http://r.789695.n4.nabble.com/Boxplot-of-mean-sd-max-min-without-raw-data-tp4730939p4732696.html" target="_blank" rel="nofollow" link="external">http://r.789695.n4.nabble.com/<wbr>Boxplot-of-mean-sd-max-min-<wbr>without-raw-data-<wbr>tp4730939p4732696.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Boxplot of mean, sd, max, min without raw data, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Susan M Miller<br style="font-size:12.8px"><br style="font-size:12.8px">Postdoctoral Fellow<br style="font-size:12.8px"><span style="font-size:12.8px">FitzPatrick Institute of African Ornithology</span><br style="font-size:12.8px"><span style="font-size:12.8px">DST-NRF Centre of Excellence</span><br style="font-size:12.8px"><span style="font-size:12.8px">University of Cape Town</span><br style="font-size:12.8px"><span style="font-size:12.8px">Rondebosch 7701</span><br style="font-size:12.8px"><span style="font-size:12.8px">South Africa</span></div></div>
</div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://r.789695.n4.nabble.com/Boxplot-of-mean-sd-max-min-without-raw-data-tp4730939p4732735.html">Re: Boxplot of mean, sd, max, min without raw data</a><br/>
Sent from the <a href="http://r.789695.n4.nabble.com/datatable-help-f2315188.html">datatable-help mailing list archive</a> at Nabble.com.<br/>