row2colnames: add a column to a dataframe consisting of the current...

Description Usage Arguments Value Examples

Description

add a column to a dataframe consisting of the current rownames

Usage

1
row2colnames(df, colname)

Arguments

df

dataframe

colname

character vector specifying new column id

Value

dataframe with rownames as a column

Examples

1
rownamess2col(dataframe, "newcolumnid")

hbc/CHBUtils documentation built on May 17, 2019, 3:07 p.m.