check_identical {qtl2pleio} | R Documentation |
Check whether a vector, x, has all its entries equal to its first entry
check_identical(x)
x |
a vector |
a logical indicating whether all vector entries are the same
x <- 1:5
check_identical(x)
y <- rep(1, 5)
check_identical(y)