[R] help with manipulating data frames (survey analysis)

2008-06-18 Thread Marvin Lists
Dear all, Can anyone recommend a good book or an online tutorial for using data frames in R? I want to do statistical analysis on some survey data and I can specify what I would like to do very easily in algorithmic terms. However, being a n00b to R I am struggling with getting R to execute what

Re: [R] help with manipulating data frames (survey analysis)

2008-06-18 Thread Marvin Lists
various operations on data frames are achieved for practical results. Thanks! Marvin On Wed, Jun 18, 2008 at 11:45 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > an introduction to R > > On Wed, Jun 18, 2008 at 2:11 PM, Marvin Lists <[EMAIL PROTECTED]> > wrote: > &g

Re: [R] help with manipulating data frames (survey analysis)

2008-06-18 Thread Marvin Lists
ote: > S Poetry might help you, though it is not exactly > what you are describing. But the price is right. > > Patrick Burns > [EMAIL PROTECTED] > +44 (0)20 8525 0696 > http://www.burns-stat.com > (home of S Poetry and "A Guide for the Unwilling S User") >

[R] splitting data frame based on a criteria

2008-06-03 Thread Marvin Lists
Hi, I have a data frame that I want to split into two based on the values of a variable in it. The variable Y has numeric values ranging between 0 through 70. I want to plot the frequencies of another variable X in two different cases: - When Y = 0 and - When Y > 0 How does one go about doing thi