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
Post a Comment