Skip to content
Prev 207948 / 398502 Next

Data.frame manipulation

Hi

r-help-bounces at r-project.org napsal dne 28.01.2010 17:40:01:
about
for
output):
mean))
in
If I remember it correctly in my suggestion I used something like

aggregate(x[,-columns.mod1 and mod2], by = x[, columns.mod1 and mod2, 
mean)

Which shall use mod2 as aggregating variable.

Does it result in output you wanted?

Regards
Petr
wrote:
check by
id
http://www.R-project.org/posting-guide.html