Re: [R] kinship package: drawing pedigree error

2008-02-07 Thread Iris Kolder
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

[R] kinship package: drawing pedigree error

2008-02-06 Thread Iris Kolder
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

Re: [R] Matching and merging two rows with missing values

2007-10-11 Thread Iris Kolder
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]] _

[R] Matching and merging two rows with missing values

2007-10-11 Thread Iris Kolder
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