Rのuniqueはかしこい

事前にソートしなくてよい。

Note that unlike the Unix command uniq this omits duplicated and not just repeated elements/rows. That is, an element is omitted if it is equal to any previous element and not just if it is equal the immediately previous one.

コメントを残す