Skip to content
Prev 76919 / 398502 Next

generating a vector from clusters of logicals

How about:
[1] 1 1 1 2 2 2 3 3 4

HTH,
Ray Brownrigg