relocate_all: Relocate All

View source: R/relocate_all.R

relocate_allR Documentation

Relocate All

Description

Arranges columns alphabetically and then by type The user can supply a tidyselect argument to specify columns that should come first

Usage

relocate_all(.data, ..., regex = NULL)

Arguments

.data

data frame

...

a tidyselect specification

regex

a regular expression to match columns that will be put at the front of the df

Value

data frame

Examples


iris %>%
head %>%
relocate_all(matches("Petal"))


Harrison4192/dataCleaner documentation built on March 20, 2024, 3:12 p.m.