vincentarelbundock / tinytable

Simple and Customizable Tables in `R`
https://vincentarelbundock.github.io/tinytable
GNU General Public License v3.0
196 stars 16 forks source link

Columns with same name #352

Closed feuerblitz7 closed 4 days ago

feuerblitz7 commented 4 days ago

I have a table with some columns that shall have the same name. More specifically, the table has groups of columns that should share the same name (e.g., group 1 has columns min, max, and group 2 also has columns min, max). I cannot rename the columns on the dataframe directly since column names have to be unique. Is this possible to realize in some other way, e.g. in the formatting of the table?

vincentarelbundock commented 4 days ago

You can rename your columns on the data frame directly. Column names don't need to be unique in R.

feuerblitz7 commented 4 days ago

You can rename your columns on the data frame directly. Column names don't need to be unique in R.

Thanks! You are right; Not sure what I did wrong before...