title: How to find the largest N elements in a list in R?
body: <p>I have a list of floats in R. For a given integer, N, I want to find the <strong>indices</strong> of the largest N values in my list. So for example, if N is 2, I want to find the indices of the two largest values in my list. How do I do this? </p>
  
  <p>I cannot reorder my list. This is why I need the indices.</p>