Displaying 1 result from an estimated 1 matches for "anml".
Did you mean:
andl
2004 Dec 06
2
Re : LOOPS
...ne help me to convert the SAS codes to equivalent R codes.
Basically, the following codes were written to establish the sire gametes
or phases for daughter design for one markers two alleles.
Here are the SAS code:
do i=1 to 744;
do j=745 to 1540;
m[j]=0;
if sire[j]=anml[i] then do;
if m1[j]=m1[i] and m2[j]=m2[i] then m[j]=0;
else if m1[j]=m1[i] then m[j] =1;
else if m1[j]=m2[i] then m[j==2;
else if m2[j]=m1[i] then m[j]=1;
else if m2[j]=m2[i] then m[j]=2;
else m[j]=0;...