The enhanced data.frame, including tibble and data.table, do not
support row names. To link to some base r facilities, there should be functions
to save information in row names. These functions are analogous to
rownames_to_column and column_to_rownames in tibble.
Usage
rn_col(.data, var = "rowname")
col_rn(.data, var = "rowname")
Value
rn_col returns a data.table,
col_rn returns a data frame.