search for: usample

Displaying 2 results from an estimated 2 matches for "usample".

Did you mean: sample
2007 Nov 21
2
uniq -c
Is there an R analog of the Unix command uniq -c: http://en.wikipedia.org/wiki/Uniq Given an array x, uniq -c replaces each contiguous subsequence of identical numbers with a tuple (count, number). E.g. $ cat > usample 10 10 9 8 8 7 7 7 6 3 1 1 1 0 $ uniq -c usample 2 10 1 9 2 8 3 7 1 6 1 3 3 1 1 0 Cheers, Alexy
2007 Nov 23
0
R users in Cyprus
...l.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Is there an R analog of the Unix command uniq -c: http://en.wikipedia.org/wiki/Uniq Given an array x, uniq -c replaces each contiguous subsequence of identical numbers with a tuple (count, number). E.g. $ cat > usample 10 10 9 8 8 7 7 7 6 3 1 1 1 0 $ uniq -c usample 2 10 1 9 2 8 3 7 1 6 1 3 3 1 1 0 Cheers, Alexy ------------------------------ Message: 12 Date: Wed, 21 Nov 2007 04:27:27 -0800 (PST) From: mysimbaa <adel.tekari at sisltd.ch> Subject: Re: [R]...