Learn R Programming

poorman (version 0.2.3)

rownames: Tools for working with row names

Description

Tools for working with row names

Usage

rownames_to_column(.data, var = "rowname")

Arguments

.data

A data.frame.

var

character(1). The name of the column to use for row names.

Value

A data.frame

Examples

Run this code
# NOT RUN {
mtcars %>% rownames_to_column()

# }

Run the code above in your browser using DataLab