recip_order: Report whether the order of two vectors is identical.

View source: R/recip_order.R

recip_orderR Documentation

Report whether the order of two vectors is identical.

Description

see tidyExt vignette

Usage

recip_order(x_vec, y_vec)

Arguments

x_vec

vector of elements of any type.

y_vec

vector of elements of any type.

Value

A message.

Examples

recip_order(mtcars$mpg,mtcars$mpg)
recip_order(mtcars$mpg,sort(mtcars$mpg))
recip_order(mtcars$mpg,mtcars$mpg[1:5])

bansell/tidyExt documentation built on July 12, 2024, 12:58 p.m.