relocate_all {framecleaner}R 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"))


[Package framecleaner version 0.2.1 Index]