aggregate multiple numeric variables in r