Re: [R] a question about subsetting

2012-06-03 Thread arun
ge in the values of the dependent or independent variables. I guess this helps. A.K.   - Original Message - From: jacaranda tree To: "R-help@r-project.org" Cc: Sent: Sunday, June 3, 2012 11:51 AM Subject: [R] a question about subsetting Hi all, I started using R

Re: [R] a question about subsetting

2012-06-03 Thread Jorge I Velez
Hi jacaranda, Try with(subset(mydata, Group1 == 1), cor.test(Gen, MSELEL, method = "pearson")) HTH, Jorge.- On Sun, Jun 3, 2012 at 11:51 AM, jacaranda tree <> wrote: > Hi all, > I started using R about 3 weeks ago, and now I've pretty much figured out > how to do the types of statistical mode

[R] a question about subsetting

2012-06-03 Thread jacaranda tree
Hi all, I started using R about 3 weeks ago, and now I've pretty much figured out how to do the types of statistical modeling, graphs, tables etc. that I frequently   use (with zero background in computer languages or other statistical packages that are similar to R like S or SAS!). So it's been