Skip to content
Prev 169259 / 398506 Next

counting entries in vector

rle(k)$lengths is perfectly suitable for my purposes.