title: Deleting values based on a vector indexes
body: <p>My data set carries duplication. I am deleting a resultant vector from an original vector (using these statements).</p>
  
  <pre><code>  elements_LON &lt;- longitude %in% Point_Long
    new_LOG &lt;- longitude[! elements_LON]
  
    **# longitude: Its the original vector 
    **# Point_Long: Resultant vector (Subset of longitude vector)**** 
  </code></pre>
  
  <p>It makes two vectors un-equal for plotting as it deletes repeated values as well. I need to perform deletion based on the indices and not on the values. Can anyone please suggest a way ? Thanks </p>