equal_length {quickcheck} | R Documentation |
Equal length vector generator
Description
Generates equal length vectors contained in a list.
Usage
equal_length(..., len = c(1L, 10L))
Arguments
... |
A set of named or unnamed vector generators. |
len |
Length of the generated vectors. If |
Value
A quickcheck_generator
object.
Examples
equal_length(integer_(), double_()) %>% show_example()
equal_length(a = logical_(), b = character_(), len = 5L) %>% show_example()
[Package quickcheck version 0.1.3 Index]