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 June 10, 2025, 10:44 a.m.