Re: [R] Sorting Numeric and Character Data

2005-10-22 Thread Thomas Hopper
Thank you; that did it! Regards, Tom On Oct 21, 2005, at 10:46 PM, Gabor Grothendieck wrote: Use read.table(myfile, header = TRUE, as.is = TRUE) where as.is=TRUE causes read.table not to convert character data to factors. On 10/21/05, Thomas Hopper [EMAIL PROTECTED] wrote: Hello, I

[R] Sorting Numeric and Character Data

2005-10-21 Thread Thomas Hopper
Hello, I have what seems like an easy question to answer, but I'm struggling with it. I have a set of categorical data that I am reading in, looking something like: category result A .234 B .123 C .564 D -.452 E .112 F -.106 I'd like to plot this twice on two separate dot charts, once with

Re: [R] Sorting Numeric and Character Data

2005-10-21 Thread Gabor Grothendieck
Use read.table(myfile, header = TRUE, as.is = TRUE) where as.is=TRUE causes read.table not to convert character data to factors. On 10/21/05, Thomas Hopper [EMAIL PROTECTED] wrote: Hello, I have what seems like an easy question to answer, but I'm struggling with it. I have a set of