Thank you Marc, that was an elegant solution, works perfectly! Martin
On 9/21/2010 10:24 PM, Marc Schwartz wrote:
DF[, -c(1:2)]<- DF[, -c(1:2)] * DF$Group
______________________________________________ R-help@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.