实例 R 语言算术运算符等于

x
 
5 == 5 # TRUE because 5 is equal to 5
5 == 3 # FALSE because 5 is not equal to 3
                    

输出结果

[1] TRUE
[1] FALSE