any_vector {quickcheck} | R Documentation |
Any vector generator
Description
Generate atomic vectors or lists.
Usage
any_vector(len = c(1L, 10L), any_na = FALSE)
Arguments
len |
Length of the generated vectors. If |
any_na |
Whether |
Value
A quickcheck_generator
object.
Examples
any_vector() %>% show_example()
any_vector(len = 10L, any_na = TRUE) %>% show_example()
[Package quickcheck version 0.1.3 Index]