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

R_logic

时间:2016-09-01 21:34:38      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:

& 与向量中的每一个元素 求and

&& 仅与向量中的第一个元素 求and

| 与向量中的每一个元素 求or

|| 与向量中的第一个元素 求or

which() function takes a logical vector as an argument and returns the indices of the vector that are TRUE 返回符合逻辑的数

 

R_logic

标签:

原文地址:http://www.cnblogs.com/sxbjdl/p/5831275.html

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