r - How to select a subset of rows and columns from a data.frame -


I have it

  d [d $ age & gt; "2",]  

And it gives all the rows on which the age is greater than 2 but I only want to return the value in some columns, d $ x and

thanks

itemprop = "text">

  d [d $ age & Gt; "2", c ("x", "y")]  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -