Skip to contents

This operator checks for exact matches between two values in R.

Usage

a %=% b

Arguments

a

The first value to compare.

b

The second value to compare.

Value

A logical value indicating if the values are identical.

Examples

1 %=% "1"  # FALSE
#> [1] FALSE
1 %=% 1    # TRUE
#> [1] TRUE