factor_is_greater: Determines if the level of a is greater than that of b

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Determines if the level of a is greater than that of b

Usage

1

Arguments

a, b

Two same-length, same-leveled vectors of type factor

Value

a single boolean vector of type logical

Examples

1
2
3
4
5
first <- c("J", "O", "S", "H")
last <- c("C", "O", "O", "K")
first <- factor(first, LETTERS)
last <- factor(last, LETTERS)
factor_is_greater(first, last)

ggasym documentation built on May 16, 2021, 1:07 a.m.