Skip to content
Prev 175094 / 398506 Next

Combining multiple dataframes in a list

I have a list containing multiple dataframes. Depending on whether the
dataframes have 1 column or more than 1 columns, the column names are
named differently. How can I force single column dataframes to have
prefixed column names ?
A
1 1
2 2
3 3
fc.A fc.B
1    1    2
2    2    3
3    3    4