This helper function facilitates the implement the make_analysis_set() to each exposure.
make_analysis_sets(stratified_data, expvars, data, threshold)A list of data frames with the length of number of exposures
List of stratified data sets, see
make_knn_strata
Character vector of exposure variable for each set in
stratifed_data
Original case control data
Maximum distance threshold for cases and controls created by
get_threshold
For more information, please refer to the vignette using
browseVignettes("nncc").