Re: [R] Some kind of inverse of "names"

2012-08-20 Thread Peter Vorpahl
Hi Sergio, 'names' are just an attribute of your list. If all elements of your list are of the same type (i.e. integer in your example) you may try something like 'unlist (li)' or even 'as.numeric(unlist(li))'. This will give you the values you wanted. An other approach is organizig your data n

Re: [R] Some kind of inverse of "names"

2012-08-20 Thread Peter Vorpahl
Hi Sergio, 'names' are just an attribute of your list. If all elements of your list are of the same type (i.e. integer in your example) you may try something like 'unlist (li)' or even 'as.numeric(unlist(li))'. This will give you the values you wanted. An other approach is organizig your data n