Kind of hard to figure out the problem without a reproducible test case. Hint: see the posting guide.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Ana Kolar <annakolar@yahoo.com> wrote:

Hi there dear R users!

Anyone knows why does matchit function returns error whenever the "hull" option is used (either "hull.both", "hull.control" or "hull.treat"). Things work well with all the rest of discard options.

This is the error msg.

>m.out.base <- matchit(formula=f, data=d, method=m, discard="hull.control")
[1] "Preprocessing data ..."
[1] "Performing convex hull test ..."
[1] "Calculating distances ...."
[1] "Calculating the geometric variance..."
[1] "Calculating cumulative frequencies ..."
[1] "Finishing up ..."
Error in weights.matrix(match.matrix, treat, discarded) :�
� No units were matched

I hope someone has a clue why this is happening. I'll appreciate your help a lot.

Best regards,

Ana
	[[alternative HTML version deleted]]

_____________________________________________

R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


	[[alternative HTML version deleted]]

