[R] an issue about missing data

David Winsemius dwinsemius at comcast.net
Thu Aug 5 18:49:35 CEST 2010


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



More information about the R-help mailing list