AllEqual: Check if all values in a vector are the same

View source: R/Common.R

AllEqualR Documentation

Check if all values in a vector are the same

Description

Check if all values in a vector are the same

Usage

AllEqual(x = NULL, y = NULL)

Arguments

y

Examples

loonR::AllEqual(c(1,1,1,1,1))
loonR::AllEqual(c(1,2,1,1,1))
loonR::AllEqual(c(1,2,1)c(1,2,1))

ProfessionalFarmer/loonR documentation built on Oct. 9, 2024, 9:56 p.m.