View source: R/shrinkRownames.R
shrinkRownames | R Documentation |
Convert row names to integers.
shrinkRownames(x, force = FALSE)
x |
a data frame. |
force |
whether to overwrite current row names with integers 1, 2, 3, ..., n. |
Same data frame, possibly with integer row names.
The default behavior is to convert row names only if they are strings
representing integers: "1"
, "2"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.