Re: [R] Reshape with multiple aggregation functions

2012-01-18 Thread pengcafe
Hello, and thanks for your answer, I have melted the data already and can reshape it with cast alright, but I still can find no way to provide a list of aggregate functions per column, nor multiple aggregate functions for some of them (i.e. mean AND stdev) -- View this message in context: http:

[R] Reshape with multiple aggregate functions

2012-01-18 Thread pengcafe
I have a data frame and I would like to reshape it to wide format while at the same time applying different aggregate functions to each column AND at times multiple aggregate functions: test1 = data.frame( id = c(rep('101',8),rep('102',8)), phase = rep(c('D','D','L','L'),4),

Re: [R] periodic time series

2010-11-29 Thread pengcafe
http://r.789695.n4.nabble.com/file/n3063697/sample.xlsx sample.xlsx So, here are some sample data. 1st column is a label for "12 hour long" days 2nd one a time stamp The rest are the actual measured values for 4 different groups. What would be the best model for such periodic data? Thanks, An

[R] periodic time series

2010-11-28 Thread pengcafe
Hi all, A beginner's question: I have to analyse univariate, strongly periodic data collected every hour for a period of 1 week and I need to compare 5 different groups for significant differences between them. Is there a better way to do this in R, other than pairwise t-tests of summary statist