I'm very new to R and I would like help clustering and analyzing my data. I have a dataset with many columns and data points. The dataframe looks something like this:
V1 | V2 | V3 |
---|---|---|
G. Cole | 53.1 | .1. |
C. Kershaw | 56.8 | .3 |
G. Cole | 53.5 | .2 |
N. Ryan | 54.6 | .5 |
The analysis I would like to run is to find the standard deviation of V2 per name V1. How do I do this so that I get the standard deviation for each person in V1 for their individual V2 dataset. For example, what is G. Cole's V2 standard deviation? I have thousands of names in V1 and their subsequent V2 and V3 values and I would like to find each of their SD of V2 and order them from highest to lowest. What is the simple code that I would run in order to do this?
Thanks