Re: [R] Question: how to build a subset to do separate calculations

2008-07-24 Thread stephen sefick
sorry disreguard On Thu, Jul 24, 2008 at 4:45 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > or sapply as I have recently found to be useful. > > > On Thu, Jul 24, 2008 at 4:33 PM, Erik Iverson <[EMAIL PROTECTED]> > wrote: > >> Spencer - >> >> Spencer wrote: >> >>> >>> Dear R Experts, >>> >>> I

Re: [R] Question: how to build a subset to do separate calculations

2008-07-24 Thread Erik Iverson
Erik Iverson wrote: Spencer - Spencer wrote: Dear R Experts, I am trying to create several subsets that I want to use as separate datasets. After separate subsets are created for each country, I want to do some calculations for each. I did the following: data <- data.frame(na.omit(read.

Re: [R] Question: how to build a subset to do separate calculations

2008-07-24 Thread stephen sefick
or sapply as I have recently found to be useful. On Thu, Jul 24, 2008 at 4:33 PM, Erik Iverson <[EMAIL PROTECTED]> wrote: > Spencer - > > Spencer wrote: > >> >> Dear R Experts, >> >> I am trying to create several subsets that I want to use as separate >> datasets. After separate subsets are creat

Re: [R] Question: how to build a subset to do separate calculations

2008-07-24 Thread Erik Iverson
Spencer - Spencer wrote: Dear R Experts, I am trying to create several subsets that I want to use as separate datasets. After separate subsets are created for each country, I want to do some calculations for each. I did the following: data <- data.frame(na.omit(read.spss("trial.sav"))) at

[R] Question: how to build a subset to do separate calculations

2008-07-24 Thread Spencer
Dear R Experts, I am trying to create several subsets that I want to use as separate datasets. After separate subsets are created for each country, I want to do some calculations for each. I did the following: data <- data.frame(na.omit(read.spss("trial.sav"))) attach (data) Netherlands <-