Learn R Programming

owmr (version 0.8.2)

use_underscore: Substitute dots in column names with underscores.

Description

Substitute dots in column names with underscores.

Usage

use_underscore(data)

Arguments

data

data frame

Value

data frame with updated column names

Examples

Run this code
# NOT RUN {
names(airquality)
use_underscore(airquality) %>% names()
# }

Run the code above in your browser using DataLab