[R] OT: Where's the new Tukey?

2012-07-15 Thread Larry White
I'm looking for a single book that provides a deep, yet readable introduction to applied data analysis for general readers. I'm looking for coverage on things like understanding randomness, natural experiments, confounding, causality and correlation, data cleaning and transforms, lagging,

[R] Using dates on axis with Grid plots

2011-05-14 Thread Larry White
Hi, I'm trying to use Grid plots and would like to have an X axis that represents dates. I have several years of data so I would like to be able to have labeled tick marks only intermittently (not one per date). I can transform the initial data from a date time string into POSIXlt or POSIXct, or

[R] problem with strptime and 2010 dates

2010-01-06 Thread Larry White
Hi, I'm reading data from a text file and transforming it in R and my date column seems to be getting corrupted. Can someone point out what's wrong? This code worked fine until I added a new date in 2010. thank you. To load the data I run: work_table = read.table(datafilename,header=TRUE)

[R] superimposing xyplots on same scale

2009-09-24 Thread Larry White
I have two xyplots that i want to superimpose (code below). By default they are displayed on slightly different y scales (one runs from 10 to 25, the other from 10 to 30). I would like to force them both onto the same scale (10 to 30) so the relation between the two is clear. Is there a way to do

[R] percent data being treated as categorical

2009-09-23 Thread Larry White
I have the following data exported as a .txt file on Windows. Everything is working fine, except that the the data in the 10th column is treated as a factor. Date Week Time Completed Work_Delta Mean_Delta Balance Total Total_Delta Work Index Open_Bugs Bug_Delta Bug_Delta2 8/17/2009 4 11.8% 64 64

Re: [R] percent data being treated as categorical

2009-09-23 Thread Larry White
Resolved. Thanks. On Wed, Sep 23, 2009 at 9:52 AM, Larry White ljw1...@gmail.com wrote: I have the following data exported as a .txt file on Windows. Everything is working fine, except that the the data in the 10th column is treated as a factor. Date Week Time Completed Work_Delta

[R] reducing space between charts in lattice graphics

2009-09-19 Thread Larry White
Hi, I'm trying to create a lattice plot with three xyplots in one vertical column. I would like to reduce the vertical space between the charts. My code is below. There seems to be a between parameter for lattice.options, but I can't find any examples. Aside from the data setup, the code is

[R] dates with lattice graphics

2009-09-14 Thread Larry White
Hi, I'm trying to do something simple (I think) with lattice graphics. I want to have three xyplots in a single column, where the x axis for the three is a date range and the y axes are numeric. I tried doing the first chart, and ran into a problem. When I enter: xyplot (date ~ count) I get a