I have a data frame with 'Age' column and its values are as below:
Age 12 15 16 20 23 24 20 15 16 20 26 20
I want to create a variable and store in it the count of 20 i.e number of people with age as 20.
Can someone please tell me how to do this in R?
table(myDatat$Age)function