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!

On 12 April 2017 at 22:49, affableambler [via R] <
[email protected]> wrote:

> Do you want a separate box plot for each row?  If so, try this:
>
> library(ggplot2)
>
> #Read in the data:
> data<-read.table('E:\\Libraries\\Documents\\WCM4.txt',sep='\t',header=T,stringsAsFactors
> = F)
>
> #Remove column of row numbers
> data$x<-NULL
>
> #Run a for loop to create separate boxplots for the data in each row:
> for(row in 1:ncol(data)){boxplot(as.numeric(as.vector(data[row,])))}
>
> Feel free to adjust the parameters of boxplot() as needed.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://r.789695.n4.nabble.com/Boxplot-of-mean-sd-max-min-without-raw-data-
> tp4730939p4731631.html
> To unsubscribe from Boxplot of mean, sd, max, min without raw data, click
> here
> <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4730939&code=ZGFuZ2Vyb3VzZnJpemJlZUBnbWFpbC5jb218NDczMDkzOXwyNDk3ODcwNTY=>
> .
> NAML
> <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>
>




--
View this message in context: 
http://r.789695.n4.nabble.com/Boxplot-of-mean-sd-max-min-without-raw-data-tp4730939p4731794.html
Sent from the datatable-help mailing list archive at Nabble.com.
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to