Skip to content
Prev 89505 / 398500 Next

Sub-vector

Dear list,

Given a vector of logical values, say
Are there any R functions that can tell whether there are two or more
"TRUE" in a row in this vector?

Thanks,

Wuming