Re: [R] How to separate a data set by its factors

2009-12-25 Thread David Winsemius
On Dec 25, 2009, at 2:00 PM, David Winsemius wrote: On Dec 25, 2009, at 9:38 AM, James Rome wrote: Thanks for the help. I tried making the pdf file as suggested. Acrobat said it was damaged and could not be opened. Is this an R bug? Hard to say. Graphics devices vary from OS to OS and I a

Re: [R] How to separate a data set by its factors

2009-12-25 Thread David Winsemius
On Dec 25, 2009, at 9:38 AM, James Rome wrote: Thanks for the help. I tried making the pdf file as suggested. Acrobat said it was damaged and could not be opened. Is this an R bug? Hard to say. Graphics devices vary from OS to OS and I am on a Mac using a 64 bit bit version of R 2.10.1. I

Re: [R] How to separate a data set by its factors

2009-12-25 Thread James Rome
Thanks for the help. I tried making the pdf file as suggested. Acrobat said it was damaged and could not be opened. Is this an R bug? It did make a PostScript file that I was able to distill into PDF, but it was gray scales. How do I get the color back? And yes, I did do the layout I wanted so I c

Re: [R] How to separate a data set by its factors

2009-12-24 Thread Carl Witthoft
G Quote: " I am climbing up a steep R learning curve, and so would appreciate some help." Please help stamp out technical illiteracy: a steep learning curve is a GOOD thing. Think about what a "learning curve" represents. Time is the x-axis and "knowledge" or 'ability' is the y

Re: [R] How to separate a data set by its factors

2009-12-24 Thread David Winsemius
On Dec 24, 2009, at 3:24 PM, James Rome wrote: I have a large data set of airport data and wish to analyze it by hour and day of the week. hour and day of the week are factors. I can do something such as: histogram(~() | , type="count", breaks=60) which displays the data the way I want it in p

Re: [R] How to separate a data set by its factors

2009-12-24 Thread Steve Lianoglou
Hi, On Thu, Dec 24, 2009 at 3:24 PM, James Rome wrote: > I think my question boils down to "how do you replace a whole data set > by its factored subsets in all of the usual R commands? I think the answer to your question is: I'm not sure that there's a way to do that in "all of the usual R com

[R] How to separate a data set by its factors

2009-12-24 Thread James Rome
I have a large data set of airport data and wish to analyze it by hour and day of the week. hour and day of the week are factors. I can do something such as: histogram(~(Arrival.Val) | DAY*Hour, type="count", breaks=60) which displays the data the way I want it in principle, but the plots are too