I have this
d[d$Age > "2", ]
and it returns all the rows that have an Age of over 2, but I want to only return the values in a few of the columns, say d$X and d$Y, not all of them.
anyway i can do this?
Thanks
I have this
d[d$Age > "2", ]
and it returns all the rows that have an Age of over 2, but I want to only return the values in a few of the columns, say d$X and d$Y, not all of them.
anyway i can do this?
Thanks