Re: [R] transform a table into a matrix

2008-06-24 Thread Martin Maechler
> "JohnF" == John Fox <[EMAIL PROTECTED]> > on Tue, 24 Jun 2008 08:10:43 -0400 writes: JohnF> Dear Maria, On 23-Jun-08, at 11:40 PM, Maria JohnF> Gavilanez wrote: >> Hi. >> >> is there a way to transform a table that has numeric and >> categorical variables in

Re: [R] transform a table into a matrix

2008-06-24 Thread John Fox
Dear Maria, On 23-Jun-08, at 11:40 PM, Maria Gavilanez wrote: Hi. is there a way to transform a table that has numeric and categorical variables into a matrix? No, because all of the elements of a matrix must be of the same mode, but a dataframe is a data structure that can have heteroge

[R] transform a table into a matrix

2008-06-23 Thread Maria Gavilanez
Hi. is there a way to transform a table that has numeric and categorical variables into a matrix? thanks Maria Mercedes Gavilanez Department of Biological Sciences 107 Life Sciences Building Louisiana State University Baton Rouge, LA 70803 (225)578-4284 ___