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: [email protected] [mailto:[email protected]] On Behalf Of Simone Gabbriellini Sent: Mittwoch, 26. Juni 2013 17:20 To: [email protected] 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@DISI, University of Bologna mobile: +39 340 39 75 626 email: [email protected] academia.edu: http://goo.gl/7pq62 DigitalBrains srl Amministratore mobile: +39 340 39 75 626 email: [email protected] home: www.digitalbrains.it [[alternative HTML version deleted]] ______________________________________________ [email protected] 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. ______________________________________________ [email protected] 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.

