Re: [R] combine elements of list into a vector

2008-05-24 Thread jim holtman
Can you tell me what is wrong with the output. Given the values in the list, the 'unlist' appears to have created the correct values. Now when I do it, it does print out the vector in this format: > unlist(x) [1] 6978022 10249966 10955201 11045352 11814604 13847633 16022770 23625856 29

[R] combine elements of list into a vector

2008-05-24 Thread mohamed nur anisah
Dear R, Can anybody help me on how to combine all the elements in a list into a single vector?? I've tried using unlist command but it gave me wrong output. Below is the example of the vector output that i want and attach with is my list of data. Any suggestion?? Many Thanks breakp.