I am building several pedigrees and would like to construct the graphs automatically. I used the following program: require(kinship2) pedig = with(Dados, pedigree(id=iid, dadid=fid, momid=mid, sex=sex, famid=famid, missid=0)) for(famid in 1:15){ pedig[famid] <- pedig['famid'] pdf(paste("plot", famid, ".pdf")) plot(pedig[famid]) dev.off() } Error em `[.pedigreeList`(pedig, "famid") : Familiy famid not found but is not working. How to solve the problem? Thanks, --------------------------------------------- Silvano Cesar da Costa Universidade Estadual de Londrina Centro de Ci?ncias Exatas Departamento de Estat?stica Fone: (43) 3371-4346