https://github.com/hadley/dplyr
Raw File
Tip revision: f05230dd110a729e95b9ffb86df2030bf3b8b26b authored by Romain François on 12 February 2019, 15:45:14 UTC
Merge pull request #4179 from tidyverse/colwise_filter_dollar_data_dot
Tip revision: f05230d
select_vars.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reexport-tidyselect.R
\name{select_vars}
\alias{select_vars}
\alias{rename_vars}
\alias{select_var}
\alias{current_vars}
\title{Select variables}
\usage{
select_vars(vars = chr(), ..., include = chr(), exclude = chr())

rename_vars(vars = chr(), ..., strict = TRUE)

select_var(vars, var = -1)

current_vars(...)
}
\arguments{
\item{vars}{A character vector of existing column names.}

\item{...}{Expressions to compute.}

\item{include, exclude}{Character vector of column names to always
include/exclude.}

\item{strict}{If \code{TRUE}, will throw an error if you attempt to
rename a variable that doesn't exist.}

\item{var}{A variable specified as in the same argument of
\code{\link[tidyselect:vars_pull]{tidyselect::vars_pull()}}.}
}
\description{
\strong{Retired}: These functions now live in the tidyselect package as
\code{\link[tidyselect:vars_select]{tidyselect::vars_select()}}, \code{\link[tidyselect:vars_rename]{tidyselect::vars_rename()}} and
\code{\link[tidyselect:vars_pull]{tidyselect::vars_pull()}}. These dplyr aliases are soft-deprecated
and will be deprecated sometimes in the future.
}
\details{
\Sexpr[results=rd, stage=render]{dplyr:::lifecycle("deprecated")}
}
back to top