Using R or Excel, what is the easiest way to convert a frequency table into a vector of values?
E.g., How would you convert the following frequency table
Value Frequency
1. 2
2. 1
3. 4
4. 2
5. 1
into the following vector?
1, 1, 2, 3, 3, 3, 3, 4, 4, 5