[datatable-help] Boxplot of mean, sd, max, min without raw data

dangerousfrizbee dangerousfrizbee at gmail.com
Thu Apr 13 08:04:23 CEST 2017


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] <
ml-node+s789695n4731631h21 at n4.nabble.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20170412/17acf050/attachment.html>


More information about the datatable-help mailing list