i'm quite new to R and i'm looking for a way to summarise data by it's frequency. So, I have a dataframe like this:
immagine media
1 1 60.65391
2 2 58.89603
3 3 60.45428
4 4 55.91487
5 5 56.11804
6 6 56.05239
7 7 61.12667
8 8 60.46287
9 9 57.96718
10 10 58.75914
11 11 60.39214
12 12 57.64966
13 13 57.14457
14 14 56.85810
15 15 56.97652
16 16 58.45831
17 17 57.37774
18 18 57.31794
19 19 60.89813
20 20 61.57055
21 21 59.62459
22 22 56.86678
23 23 56.46254
24 24 54.72302
25 25 56.04285
26 26 55.88004
27 27 56.64764
and I would like to have a table with the variable "media" split in groups like 55-60, 50-55 ... and it's relative immagine. I really don't know how to go on. thank you in advance to anyone.
I was looking also to divide the data by its confidence interval. Is it possibile to do with a cut function in order to have different groups dived by the 95% CI? . thanks in advance. Nicola
Nicola