homogenous: Returns whether a vector is homogenous or not

Description Usage Arguments Value See Also Examples

View source: R/Rfunctions.R

Description

Returns TRUE/FALSE if every element of vector is identical/not.

Usage

1
  homogenous(vec)

Arguments

vec

Vector to be compared

Value

TRUE if every element of a vector is identical; FALSE otherwise.

See Also

See also all any

Examples

1
2
homogenous(c(rep("A",10),"A"))
homogenous(c(rep("A",10),"B"))

taRifx documentation built on April 14, 2020, 6:27 p.m.

Related to homogenous in taRifx...