参考手册
参考手册
实例 R 语言算术运算符等于
源代码
运行代码
5 == 5 # TRUE because 5 is equal to 5 5 == 3 # FALSE because 5 is not equal to 3
x
5
==
5
# TRUE because 5 is equal to 5
5
==
3
# FALSE because 5 is not equal to 3
输出结果
[1] TRUE
[1] FALSE