vf: Display filtered data frame.

Description Usage Arguments Value Examples

View source: R/tidyverse-extras.R

Description

vf displays a data frame using the View function but allows conditions on the data by using dplyr::filter and displays the conditions in the windows title.

Usage

1
vf(df, ...)

Arguments

df

A data frame.

...

Conditions on the data frame. Comma-separated conditions are joined by &

Value

Invisible NULL. Result is displayed in a window.

Examples

1
2
3
4
5
## Not run: 
vf(iris, Sepal.Width >= 4)
vf(iris, Sepal.Length > 6, Sepal.Width < 4)

## End(Not run)

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