R语言算术运算和逻辑运算
2024-10-19 04:31:35
Arithmetic Operators
Operator | Description |
+ | addition |
- | subtraction |
* | multiplication |
/ | division |
^ or ** | exponentiation |
x %% y | modulus (x mod y) 5%%2 is 1 |
x %/% y | integer division 5%/%2 is 2 |
Logical Operators
Operator | Description |
< | less than |
<= | less than or equal to |
> | greater than |
>= | greater than or equal to |
== | exactly equal to |
!= | not equal to |
!x | Not x |
x | y | x OR y |
x & y | x AND y |
isTRUE(x) | test if X is TRUE |
最新文章
- [MySQL Reference Manual] 18 复制
- iOS UITextField限制输入数字
- unity游戏在logcat中过滤一些不需要的Log
- 最小集合(51nod 1616)
- HDU 5686:2016";百度之星"; - 资格赛 Problem B
- appium简明教程(6)——启动appium及android模拟器
- ABAP文本编辑框操作
- BootStrap 的随笔一二三
- HDU3709 Balanced Number (数位dp)
- SHELL种类,版本及选择
- GRUB2配置详解:默认启动项,超时时间,隐藏引导菜单,配置文件详解,图形化配置
- 201521123031 《Java程序设计》第4周学习总结
- ArcEngine小问题解决
- 导出文件的时候 加大php内存
- OGG-01668
- Win7开机卡在Windows Update 35%的解决办法
- 常见的爬虫分析库(2)-xpath语法
- php 设置中文 cookie, js获取
- spring boot(七)mybatis多数据源解决方案
- Html隐藏占空间与隐藏不占空间
热门文章
- Codeforces Round #277.5 (Div. 2)
- Net数值计算MathNet.Numerics类库
- if in hlsl
- FormCreate &; FormActivate &; FormShow执行顺序演示
- HTML5中表单验证的8种方法(转)
- UIView的frame和bounds的含义
- Firefly卡牌手游《暗黑世界V1.5》服务器端源码+GM管理后台源码
- Static vs Dynamic Scope
- ==和equals的区别
- 妙味课堂——HTML+CSS(第四课)(二)