data_frame_ {quickcheck} | R Documentation |
Data frame generators
Description
Construct data frame generators in a similar way to base::data.frame
.
Usage
data_frame_(..., rows = c(1L, 10L))
Arguments
... |
A set of name-value pairs with the values being vector generators. |
rows |
Number of rows of the generated data frame.
If |
Value
A quickcheck_generator
object.
Examples
data_frame_(a = integer_()) %>% show_example()
data_frame_(a = integer_(), b = character_(), rows = 5L) %>% show_example()
[Package quickcheck version 0.1.3 Index]