force_control: Force including certain controls in the final matched...

Description Usage Arguments Value

View source: R/force_control.R

Description

This function processes the given distance list by adding certain zero-cost edges so that the user-specified controls are forced into the final matched samples. This function is of little interest to most users.

Usage

1
force_control(dist_list, Z, include)

Arguments

dist_list

A distance_list object.

Z

A length-n vector of treatment indicator.

include

A binary vector indicating which controls must be included (length(include) = sum(1-Z).

Value

This function returns a distance list object with added edges.


match2C documentation built on May 9, 2021, 9:07 a.m.