select_columns: Wrapper around dplyr::select()

View source: R/data.frame-handling.R

select_columnsR Documentation

Wrapper around dplyr::select()

Description

Wrapper around dplyr::select()

Usage

select_columns(
  df,
  keep = NULL,
  contains = NULL,
  matches = NULL,
  starts.with = NULL,
  ends.with = NULL,
  negate = FALSE,
  return = "tibble",
  fdb.fn = "stop"
)

Arguments

df

A data.frame.

keep

Columns that have to be kept.

contains, matches, starts.with, ends.with

Character or NULL. If character given to the respective tidyselect function as input for argument match.

negate

Logical value. If set to TRUE negates the regex input of the tidyselect input.

Value

Selected data.frame.


kueckelj/confuns documentation built on July 4, 2024, 4:53 p.m.