list_with_vectors {tester} | R Documentation |
List with vectors
Description
list_with_vectors
checks if an object is a list
with vectors
list_with_numeric_vectors
checks
if an object is a list with numeric vectors
list_with_string_vectors
checks if an object is a
list with string vectors
Arguments
x |
an R object |
See Also
Examples
a = list(1:3, letters[1:3], c(exp(1), pi), NA)
b = list(1:3, c(exp(1), pi))
d = list(letters[1:3], 'bonjour a tous')
e = list(matrix(1:6, 2, 3), a, b)
list_with_vectors(1:10) # FALSE
list_with_vectors(b) # TRUE
list_with_vectors(d) # TRUE
list_with_numeric_vectors(a) # TRUE
list_with_numeric_vectors(b) # TRUE
list_with_string_vectors(d) # FALSE
list_with_string_vectors(a) # TRUE
list_with_string_vectors(d) # TRUE
list_with_string_vectors(b) # FALSE
[Package tester version 0.2.0 Index]