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

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

gtk - Python Window Resize -

c# - read full xml file data over tcp -