Dear Ani,
Did the exact same command worked last week? If so, you might want to
reinstall the latest version of MatchIt and try again. If you still get an
error, could you also send the code that generated "m.out2" to the list?
Thanks
Kosuke
-----------------------------------------------------
Kosuke Imai Office: Corwin Hall 041
Assistant Professor Phone: 609-258-6601
Department of Politics eFax: 973-556-1929
Princeton University Email: kimai(a)Princeton.Edu
Princeton, NJ 08544-1012
http://imai.princeton.edu
-----------------------------------------------------
On Thu, 30 Mar 2006, Anirudh V. S. Ruhil wrote:
I'm using R-2.2.1 (win) + MatchIt 2.2-5
Now, after matching and verifying that object m.out2 exists, invoking
R$ matches <- match.data(m.out2)
yields the following error message "Error in cbind(data, object$distance) :
cannot coerce type closure to list vector".
The match.data() function worked fine until last week, and I know I updated
some packages this week, but MatchIt certainly wasn't one of them.
thanks!
Ani
Anirudh V. S. Ruhil, Ph.D.
Sr. Research Associate
Voinovich Center for Leadership and Public Affairs
Ohio University
Building 21, The Ridges
Athens, OH 45701-2979
Tel: 740.597.1949 | Fax: 740.597.3057
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)latte.harvard.edu
[un]subscribe Options:
http://lists.hmdc.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/
-
MatchIt mailing list served by Harvard-MIT Data Center
List Address: matchit(a)latte.harvard.edu
Subscribe/Unsubscribe:
http://lists.hmdc.harvard.edu/?info=matchit
MatchIt Software and Documentation:
http://gking.harvard.edu/matchit/