Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expect_frame

Create a dataframe to help visualise 'expected' values


Description

Create a dataframe to help visualise 'expected' values

Usage

expect_frame(data, expectation)

Arguments

data

data.frame

expectation

unquoted conditions or "expectations" to test

Value

data.frames where expectation are true

Author(s)

Stuart Lee and Earo Wang

Examples

## Not run: 
dat_test <- tibble::tribble(
            ~x, ~y,
            -1,  "A",
            0,  "B",
            1,  "C"
            )

expect_frame(dat_test,
             ~ .x == -1)

## End(Not run)

visdat

Preliminary Visualisation of Data

v0.5.3
MIT + file LICENSE
Authors
Nicholas Tierney [aut, cre] (<https://orcid.org/0000-0003-1460-8722>), Sean Hughes [rev] (<https://orcid.org/0000-0002-9409-9405>, Sean Hughes reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/87), Mara Averick [rev] (Mara Averick reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/87), Stuart Lee [ctb], Earo Wang [ctb], Nic Crane [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.