I try to execute the following function:
result<-lapply(mylist,function(x)cbind(x,var=tapply(x[,c(3)],x[,c(1)],sum)))
But, this error appears:
Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 3...
asked by
08.10.2018 / 21:38