[R] format: from list to data frame

2010-03-13 Thread Javier
Dear users, Is anyone out there on a Saturday to answer this easy question? I have the yo object data in a list format: str(yo) num [1:259, 1:173] 16.3 NA NA NA NA ... - attr(*, dimnames)=List of 2 ..$ x: chr [1:259] 367319 367329 367309 367339 ... ..$ y: chr [1:173] 780175 780185

Re: [R] format: from list to data frame

2010-03-13 Thread David Winsemius
On Mar 13, 2010, at 11:46 AM, Javier wrote: Dear users, Is anyone out there on a Saturday to answer this easy question? I have the yo object data in a list format: str(yo) num [1:259, 1:173] 16.3 NA NA NA NA ... - attr(*, dimnames)=List of 2 ..$ x: chr [1:259] 367319 367329 367309

Re: [R] format: from list to data frame

2010-03-13 Thread Barry Rowlingson
On Sat, Mar 13, 2010 at 4:46 PM, Javier j.perez-barbe...@macaulay.ac.uk wrote: Dear users, Is anyone out there on a Saturday to answer this easy question? I have the yo object data in a list format: str(yo)  num [1:259, 1:173] 16.3 NA NA NA NA ...  - attr(*, dimnames)=List of 2  ..$ x:

Re: [R] format: from list to data frame

2010-03-13 Thread Marc Schwartz
On Mar 13, 2010, at 10:46 AM, Javier wrote: Dear users, Is anyone out there on a Saturday to answer this easy question? I have the yo object data in a list format: It is not a list, it is a matrix. The dimnames attribute is a list. str(yo) num [1:259, 1:173] 16.3 NA NA NA NA ...