<div dir="ltr">thanks, that does work, but I actually want to plot all of the data in one plot, labelled 1-14 along the x axis. any further suggestions would be much appreciated!</div><div class="gmail_extra"><br><div class="gmail_quote">On 12 April 2017 at 22:49, affableambler [via R] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4731794&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">
Do you want a separate box plot for each row? If so, try this:
<br><br>library(ggplot2)
<br><br>#Read in the data:
<br>data<-read.table('E:\\<wbr>Libraries\\Documents\\WCM4.<wbr>txt',sep='\t',header=T,<wbr>stringsAsFactors = F)
<br><br>#Remove column of row numbers
<br>data$x<-NULL
<br><br>#Run a for loop to create separate boxplots for the data in each row:
<br>for(row in 1:ncol(data)){boxplot(as.<wbr>numeric(as.vector(data[row,]))<wbr>)}
<br><br>Feel free to adjust the parameters of boxplot() as needed.
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://r.789695.n4.nabble.com/Boxplot-of-mean-sd-max-min-without-raw-data-tp4730939p4731631.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>tp4730939p4731631.html</a>
</div>
<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></blockquote></div><br></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-tp4730939p4731794.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/>