I'm used to having a vector of observations like c(1,1,1,3,4)
on which I can see summary statistics and plot histograms etc...but now I find myself with, the same data, but in a compressed format like this:
value, numObs
1, 3
3, 1
4, 1
How can I easily "unwrap" this easily into the vector or view the same summary stats or histogram plots when the data is expressed in a data.frame
as above?