I'd like to manipulate data in R as follows, can anybody help please?
Before:
Record Person Value
1 1 100
1 2 0
1 3 200
2 1 150
2 2 220
After:
Record Value
1 {100, 0, 200}
2 {150, 220}
Ideally I'd like the final dataset values to be in a list (as opposed to a string), so that I can apply formulas to each value.
Many thanks in advance.