-
mimira
andmimipo
objects (the output ofwith()
andpool()
, respectively) now inherit from themice
classesmira
andmipo
. This meansmice
methods work with these objects, so their special methods have been removed fromMatchThem
, thinning out the package code.mice
does not need to be attached (i.e., withlibrary()
) for its methods to be dispatched. -
coxph()
when used withwith()
now correctly uses the robust standard errors. -
A
cluster
argument has been added towith.mimids()
to control whether cluster-robust standard errors should be used to account for pair membership when the model is asvyglm()
-type model from thesurvey
package. The default is to include pair membership when present and there are 20 or more unique subclasses (i.e., pairs). This works by supplying the pair membership variable (subclass
) to theids
argument ofsvydesign()
. -
cbind()
methods have been exported and documented. -
Printed messages can now be suppressed with
supressMessages()
or by setting the newprintFlag
option inmatchthem()
andweightthem()
. -
MatchIt
andWeightIt
have been moved fromDepends
toImports
since they do not need to be attached to useMatchThem
functions. Several packages have been removed fromImports
.mice
has been added to Depends. -
mimids
andwimids
objects are now much smaller, now containing only the suppliedmids
object and thematchit()
orweightit()
outputs. This may make old code that directly interfaced with themimids
andwimids
internals no longer operate correctly, but any code that relied onwith()
,pool()
, andcomplete()
should still operate as before. -
Added
trim.wimids()
to trim estimated weights. This relies onWeightIt::trim()
and uses the same syntax. UnlessWeightIt
has been attached (i.e., usinglibrary(WeightIt)
),trim.wimids()
must be called usingWeightIt::trim(.)
.
This is an update to kill few bugs.
This is an update to change the definition of the complete()
function to evade name clashes with the tidyr
package.
This is an update to improve documentation and to fix minor bugs.
This is an update to improve documentation and to implement compatibility for robust estimation of standard errors (compatibility with the svyglm()
and svycoxph()
, from the survey
package, to be used as expressions within the with()
function) and for new matching and weighting methods (e.g. the full
, genetic
, and cem
matching methods as well as ebal
and optweight
weighting methods). Moreover, complete()
function is included in the package to replace the matchthem.data()
and weightthem.data()
.
This is a spit and polish update to improve documentation and to fix minor bugs.
This is the first release of the MatchThem
package both on the Github and the Comprehensive R Archive Network (CRAN).
Farhad Pishgar
Noah Greifer
Clémence Leyrat
Elizabeth Stuart