| finalize_data {nncc} | R Documentation | 
Final cleaning of the matched dataset(s)
Description
Ensures that a control retained in a data frame is used once and remove strata without any case or any control. In this process, priority is first given to the smallest strata then smallest distance if a control is matched to multiple cases (i.e., that control exists in multiple strata).
Usage
finalize_data(dfs, filter = TRUE, filterdata = NULL)
Arguments
| dfs | A list of data frames generated by
 | 
| filter | Filter statement to apply | 
| filterdata | Extra data to left join to the  | 
Details
For more information, please refer to the vignette using
browseVignettes("nncc").
Value
A list of data frames
[Package nncc version 2.0.0 Index]