[R] an issue about missing data

David Winsemius
Thu, 05 Aug 2010 16:49:35 -0000

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