Laura - If I'm not mistaken, the two replies already on the R-help mailing list do not answer the question you are asking. If you've already solved it, fine. If not, do str(lev2.list) and send me the output.
Sounds to me as though lev2.list is not currently a data frame or any of the other elementary data structures in R. It might be one of the crazy "lists of length zero" that Bioconductor and other attempts to do "object oriented" programming in R are so fond of. Maybe you can tell us more about what package or source is producing the structure and the data in lev2.list. - tom blackwell - u michigan medical school - ann arbor - On Fri, 28 Mar 2003, Laura Gross wrote: > I have a data list which is in the form: lev2.list > > [[1]] > 1 2 > number number > [[2]] > 3 4 > number number > > etc down to [[1100]] > > I'm wanting to convert this to a data.matrix so I can plot the values, > however, when I use new<-data.matrix(lev2.list), I get a data matrix > that reads: > > [1, ] Numeric, 2 > [2, ] Numeric, 2 > > with every line down to [1100, ] reading 'Numeric,2' > > Why am I getting this output? Why will R not display the numbers in a > data.matrix? > > Many thanks for any help > Laura ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
