5
I wish to perform only ONE function tapply
and get results for each of the dataframes at once:
dataset1<-data.frame(group = rep(c('a','b','c','d'), 3, each = 3),
number1 = c(1:36), number2 = c(1:36))
dataset2<-data.frame(group = rep(c('a','b','c','d'), 3, each = 3),
number1 = c(36:71), number2 = c(36:71))
dataset3<-data.frame(group = rep(c('a','b','c','d'), 3, each = 3),
number1 = c(71:106), number2 = c(71:106))
I ask, if possible, that the resolution be made for the three databases and for the two numerical variables present in each of them.