[R] help with plotmeans (gplots)

Blaser Nello nblaser at ispm.unibe.ch
Wed Jun 26 17:50:16 CEST 2013


The formula in plotmeans compares vectors. This should work:

data <- unlist(data)
times <- rep(1:15, 100)
plotmeans(data~times)

Best, 
Nello

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Simone Gabbriellini
Sent: Mittwoch, 26. Juni 2013 17:20
To: r-help at r-project.org
Subject: [R] help with plotmeans (gplots)

Dear List,

I have replicated an experiment 100 times. Each experiment lasts for 15
iteration. Thus I have collected results into a data.frame with 100
columns (one column for each experiment) and 15 rows (one row for each
iteration).

I would like to plot mean values at each iteration using plotmeans, but
I am unable to understand the syntax I should use. I tried:

times<-as.factor(seq(1,15))

plotmeans(data~times)


with no luck... what should I tell to plotmeans in order to evaluate my
dataset?


Best regards,

Simone

--
Simone Gabbriellini, PhD

PostDoc at DISI, University of Bologna
mobile: +39 340 39 75 626
email: simone.gabbriellini at unibo.it
academia.edu: http://goo.gl/7pq62

DigitalBrains srl
Amministratore
mobile: +39 340 39 75 626
email: simone.gabbriellini at digitalbrains.it
home: www.digitalbrains.it

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list