vs: Display selected elements from a data frame.

Description Usage Arguments Value Examples

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)

dpavlic/EPmisc documentation built on May 15, 2019, 1:45 p.m.