Skip to content
Back to formatted view

Raw Message

Message-ID: <73f827b50902180020p3759d41ag216689a413074d7b@mail.gmail.com>
Date: 2009-02-18T08:20:24Z
From: Gundala Viswanath
Subject: Remove top-K elements in Vector

Hi all,

Suppose I hve this vector:

> x
 [1]  3  4  7 17 22 12 15 12  3  3  1  1

How can I remove the top-3 element.
Yielding only:
[1]  17 22 12 15 12  3  3  1  1

- Gundala Viswanath
Jakarta - Indonesia