vs: Display selected elements from a data frame.

Description Usage Arguments Value Examples

View source: R/tidyverse-extras.R

Description

vs displays a data frame using the View function but allows selecting variables from the data using dplyr::select and displays the number of selected variables in the windows title.

Usage

1
vs(df, ...)

Arguments

df

A data frame.

...

Names the variables to be selected.

Value

Invisible NULL. Result is displayed in a window.

Examples

1
2
3
4
5
## Not run: 
vs(iris, Sepal.Width)
vs(iris, Sepal.Length, Sepal.Width)

## End(Not run)

Ottawa-EPRI/EPmisc documentation built on May 18, 2019, 10:14 a.m.