Your problem is that PatientID, FatherID, MotherID are factors. The authors of kinship2
(myself and Jason) simply never thought of someone doing this. Yes, that is an oversight.
We will correct it by adding some more checks and balances. For now, turn your id
variables into character or nume
Dear R-help,
I am interested in plotting some pedigrees and came across the kinship2
package. What follows is an example of the pedigrees I am working with.
Now, when running
## check package availability
if(!require(kinship2)) install.packages('kinship2')
require(kinship2)
## data to plot
d <
2 matches
Mail list logo