Posts by ana • 41 points
1 post
-
4
votes2
answers1551
viewsQ: How to group data by an id in R
I have the following database: id x 1 2 1 3 2 3 3 3 3 3 3 3 I wanted to create a new database without repeating the field value id, to solve this I can average the field values x that belongs to the…