column dataframe: make the first column a real column in your data frame

Hi
We have this table. However the frist column is not really a column and we want to change that so we can give it a name and merge it with other columns. how do we do that?

image

tibble package is part of the tidyverse, it provides rownames_to_column()
like all functions in R you can try to access help by using questionmark and function name in the console

?tibble::rownames_to_column()
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

thank you it worked!

1 Like