码迷,mamicode.com
首页 > 其他好文 > 详细

R语言算术运算和逻辑运算

时间:2014-07-14 00:01:59      阅读:517      评论:0      收藏:0      [点我收藏+]

标签:des   style   strong   width   cti   io   

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

R语言算术运算和逻辑运算,布布扣,bubuko.com

R语言算术运算和逻辑运算

标签:des   style   strong   width   cti   io   

原文地址:http://www.cnblogs.com/emanlee/p/3840323.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!