powered by
Returns TRUE/FALSE if every element of vector is identical/not.
homogenous(vec)
Vector to be compared
TRUE if every element of a vector is identical; FALSE otherwise.
See also all any
all
any
# NOT RUN { homogenous(c(rep("A",10),"A")) homogenous(c(rep("A",10),"B")) # }
Run the code above in your browser using DataLab