Using summary function in R and applying to particular cases
Just self-learning R at the moment and have gotten a little stuck. I have
a dataset and I want to summarize (find mean, max, etc) but only selecting
those cases that have a particular value on a certain variable.
Alternatively, I guess the same outcome could be done by summarizing only
certain rows in the dataset (ie summarize only rows 1 thru 20).
Could someone lend a helping hand? Thanks so much
No comments:
Post a Comment