Case-insensitive-operators | R Documentation |
These operators convert both left- and right-hand side to lowercase before comparing.
x %cin% y
x %ncin% y
x %cis% y
x %ncis% y
x , y |
Values to be compared. |
A logical vector.
x %cin% y
: Case-insensitive
x %ncin% y
: Case-insensitive
x %cis% y
: Case-insensitive ==
x %ncis% y
: Case-insensitive !=
Sercan Kahveci
[base::'
c("apple","pear","coal") %cin% c("Banana","Apple","Pear","Cherry")
c("apple","pear","coal") %ncin% c("Banana","Apple","Pear","Cherry")
c("APPLE","COAL") %cis% c("Apple","Pear")
c("APPLE","COAL") %ncis% c("Apple","Pear")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.