Re: [R] if else statement in loop

2014-09-29 Thread PIKAL Petr
-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Kate Ignatius Sent: Sunday, September 28, 2014 9:14 PM To: r-help Subject: [R] if else statement in loop I have two data frames For simplicity: X= V1 V2 V3 V4 V5 V6 samas4 samas5 samas6 samas4_father samas5_mother

Re: [R] if else statement in loop

2014-09-29 Thread Kate Ignatius
computation. Regards Petr -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Kate Ignatius Sent: Sunday, September 28, 2014 9:14 PM To: r-help Subject: [R] if else statement in loop I have two data frames For simplicity

Re: [R] if else statement in loop

2014-09-29 Thread PIKAL Petr
, samas6 ), class = factor)), .Names = c(FID, IID), class = data.frame, row.names = c(NA, -3L)) -Original Message- From: Kate Ignatius [mailto:kate.ignat...@gmail.com] Sent: Monday, September 29, 2014 12:54 PM To: PIKAL Petr Cc: r-help Subject: Re: [R] if else statement in loop

[R] if else statement in loop

2014-09-28 Thread Kate Ignatius
I have two data frames For simplicity: X= V1 V2 V3 V4 V5 V6 samas4 samas5 samas6 samas4_father samas5_mother samas6_sibling samas4 samas5 samas6 samas4_father samas5_mother samas6_sibling samas4 samas5 samas6 samas4_father samas5_mother samas6_sibling Y= FID IID FAM01 samas4 FAM01 samas5