modifyRowNames {handyFunctions}R Documentation

Return reformatted data.frame with standard row names

Description

Return reformatted data.frame with standard row names

Usage

modifyRowNames(rawDataFrame, rows = TRUE, rawSep = "..", sep = "_")

Arguments

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

Value

A modified data.frame with row names separated by your given delimitator

Examples

library(handyFunctions)
data(people)
modifyRowNames(people)


[Package handyFunctions version 0.1.0 Index]