Hi, I am using a function 'polygenic' in the package called 'GenABEL'. --------------------------------------------------------------------------------> h2.gs <- polygenic(b.dbp~age+age2+age3+sex+b.bmi, kin=gs.gkin, data=gs)------------------------------------------------------------------------------- ## and I got the following error message: Error in svd(X): infinite or missing values in 'x'. I know this may be due to some missing data issue, but I just don't know how to solve this problem. anyone can help? thanks a lot, karena -- View this message in context: http://r.789695.n4.nabble.com/an-issue-about-missing-data-tp2315094p2315094.html Sent from the R help mailing list archive at Nabble.com.
On Aug 5, 2010, at 12:23 PM, karena wrote:> > Hi, > > I am using a function 'polygenic' in the package called 'GenABEL'. > -------------------------------------------------------------------------------- >> h2.gs <- polygenic(b.dbp~age+age2+age3+sex+b.bmi, kin=gs.gkin, >> data=gs)Have you considered using the complete.cases function or one of the na.* functions?> ------------------------------------------------------------------------------- > ## and I got the following error message: > Error in svd(X): infinite or missing values in 'x'. > > I know this may be due to some missing data issue, but I just don't > know how > to solve this problem. >David Winsemius, MD West Hartford, CT