Re: [R] Error in Genetic Matching

2011-12-02 Thread R. Michael Weylandt
The error message is pretty explicit: your problem is taht one of your inputs has NA (missing value) in it and the GenMatch() function is not prepared to handle the. You can find which one by running: any(is.na(Tr)) any(is.na(X.binarynp) any(is.na(BalanceMatrix.binarynp)) and then use View() on

[R] Error in Genetic Matching

2011-12-02 Thread shyam basnet
Dear R Users, I am a novice learner of R software. I am working with Genetic Matching - GenMatch(), but I am getting an Error message as follows:  Error in GenMatch(Tr = Tr, X = X.binarynp, BalanceMatrix = BalanceMatrix.binarynp,  :    GenMatch(): input includes NAs Could you please suggest me