search for: 29462748

Displaying 1 result from an estimated 1 matches for "29462748".

2007 Nov 23
2
printing levels as tuples
I'm running rle() on a long vector, and get a result which looks like > uc Run Length Encoding lengths: int [1:16753] 1 1 1 1 1 1 1 1 1 1 ... values : int [1:16753] 29462748 22596107 18322820 14323315 12684505 9909036 7296916 6857692 5884755 5883697 ... I can print uc$names or uc$levels separately. Is there any way to print them together as tuples, looking like (29462748, 1) (22596107, 1) ... (5883697, 1) ... ... Cheers, Alexy