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 wr
Hi
Im using the kinship package to draw a pedigree. On my data set this works fine
but when i add indivudals to the pedigree i keep getting an error i hope
someone can help me!
This is the code im using:
Data<-read.table("Tree.txt", header=T, sep=",")
attach(Data)
ped<-pedigree(id, dadid, momi
he output i want is one row
1 2 3 4 5
Row AA AG GG AA NA
I tried to use the functions match,grep, and gsub but I can't seem to
make it work I would appreciate any suggestions!
Best regards,
Iris Kolder
[[alternative HTML version deleted]]
_
e any suggestions!
Best regards,
Iris Kolder
[[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.htm
4 matches
Mail list logo