View source: R/ReformatDataframe.R
modifyRowNames | R Documentation |
Return reformatted data.frame with standard row names
modifyRowNames(rawDataFrame, rows = TRUE, rawSep = "..", sep = "_")
rawDataFrame |
Raw data.frame input |
rows |
Specific row names or indexes what you want to reformat (default: TRUE, use all row) |
rawSep |
Raw odd separation symbol in row names of raw data.frame. Note: it supports regEx (regular expression), so "." means all possible symbols. If you want to use the "." dot notation, please use "[.]". |
sep |
Separation symbol in row names of modified data.frame |
A modified data.frame with row names separated by your given delimitator
library(handyFunctions) data(people) modifyRowNames(people)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.