#input is a vector of logicals
check_seeds(1:10 <= 3, nv = 10)
#input is a vector of integers
check_seeds(c(1,4,2,7,3), nv = 10)
#input is a matrix
check_seeds(matrix(1:4,2), nv = 10)
#input is a data frame
check_seeds(as.data.frame(matrix(1:4,2)), nv = 10)
Run the code above in your browser using DataLab