I tried replacing the missing parents with 0 but got the same error 

Error in if (min(pos2) < 0) { : missing value where TRUE/FALSE needed

Any other thoughts?

Iris 

Subject: Re: [R] kinship package: drawing pedigree error

On Wed, 06-Feb-2008 at 04:49AM -0800, Iris Kolder wrote:

[...]

|> 1,9979,NA,NA,1,0
|> 1,20644,9979,8862,2,0
|> 1,20670,9979,8862,1,0
|> 

|> I tried putting nuclear families closer together in de pedigree but
|> this doesn't seem to help. All individuals have both parents in the
|> pedigree or have 2 missing parents.

It's a while since I used that function, but IIRC, a missing parent is
set as 0, not NA.  

It might have changed since I used it, in which case ignore me.

HTH


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.  
  ___    Patrick Connolly  
{~._.~}                  Great minds discuss ideas    
_( Y )_                    Middle minds discuss events 
(:_~*~_:)                   Small minds discuss people  
(_)-(_)                                ..... Anon
      
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.


      
____________________________________________________________________________________
Be a better friend, newshound, and 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to