wrangle_data: Wrangle the df and keep only the interested variables...

View source: R/wrangle_data.R

wrangle_dataR Documentation

Wrangle the df and keep only the interested variables (unquoted) and output should have same type as of df.

Description

Wrangle the df and keep only the interested variables (unquoted) and output should have same type as of df.

Usage

wrangle_data(df, ...)

Arguments

df

A data frame that needs to be wrangle

...

unquoted variables names to select data

Value

A data frame that contains only those variables specified

Examples

wrangle_data(mtcars, mpg)
wrangle_data(mtcars, mpg, disp)

DSCI-310/DSCI-310-Group-8-package documentation built on April 21, 2022, 3:55 a.m.