Skip to content
Prev 349541 / 398498 Next

changing column labels for data frames inside a list

On 30 March 2015 at 17:19, Vikram Chhatre <crypticlineage at gmail.com> wrote:

            
For new problems you should use a new topic.
But it works as expected (read ?cbind).
You try to cbind two lists (myavg and mylist2).
You want to cbind each list object (the data.frames) with each rowSums
output.
So, use cbind within your first lapply.

p.s. Is it a standard convention to always copy the reply to the last
I guess it depends on which answer you refer to.