标签: r
使用具有Mahalanobis距离的MatchIt包时是否可以获得距离矩阵?
library("MatchIt") m.out <- matchit(treat ~ re74 + re75 + educ + black + hispan + age, data = lalonde, distance="mahalanobis",method = "nearest") # this contains only NAs m.out$distance