I'm trying to do some twitter analysis using r studios and I came across a certain section of the guide where it aggregates a few columns together. Where I group the persons name, and summarise the mean of the users followers and friends. On the guide it shows this

However, when I try to repeat the exact same code on to my r studios, It instead, shows me the following output. Why doesn't it show the "screen_name" column and it somehow takes the mean of all the rows?
