rownames2col | R Documentation |
Add a Column Containing the Row Names to a Data Frame
rownames2col(x, column_name)
x |
A |
column_name |
The name of the new column containing the
|
A data.frame
.
Other bits and pieces:
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.