powered by
Add a Column Containing the Row Names to a Data Frame
rownames2col(x, column_name)
A data.frame.
data.frame
The name of the new column containing the row.names.
row.names
Other bits and pieces: golden_ratio(), is_difftime_less(), is_valid_primary_key(), pause(), r_cmd_install(), str2num(), string2words(), strip_off_attributes(), tapply(), throw()
golden_ratio()
is_difftime_less()
is_valid_primary_key()
pause()
r_cmd_install()
str2num()
string2words()
strip_off_attributes()
tapply()
throw()
rownames2col(mtcars, column_name = "model")
Run the code above in your browser using DataLab