I'm not sure if anyone responded to the below, if it's working now, please
disregard... but the first thing to try is to make sure you are passing
the function whatever kind of input it likes, probably a dataframe. For
starters, you might try:
is.data.frame(data)
Best,
Dan
On Sat, 29 Apr 2006, Lucy Barnes wrote:
dear all,
i'm coming across an error when trying to extract the matched dataset
after running matchit. using:
match<-matchit(TreatInd~ Age+ Gender+ Black+ Other+ Widow+ Div+ ...,
data=data)
which runs fine, i then get
matched<-match.data(match)
Error in cbind(data, object$distance): cannot coerce type closure to
list vector
I looked here
http://lists.hmdc.harvard.edu/lists/zelig/2006_03/msg00008.html
for help but there's no more information than this.
Any ideas?
Lucy
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l