most: Are most values TRUE

View source: R/utils_conditionals.R

mostR Documentation

Are most values TRUE

Description

IF more than half the values are TRUE, returns TRUE

Usage

most(x)

Arguments

x

lgl

Value

lgl

See Also

Other conditionals: is_error(), is_legit(), is_project(), larger(), same(), zchar()

Examples

most(c(TRUE,TRUE,FALSE))
most(c(TRUE,FALSE,FALSE))

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.