R的any和all

> x<-1:10

> any(x>8)

[1] TRUE

> all(x>8)

[1] FALSE

原文地址:https://www.cnblogs.com/wwxbi/p/6087332.html