make_analysis_sets {nncc}R Documentation

Make analysis datasets

Description

This helper function facilitates the implement the make_analysis_set() to each exposure.

Usage

make_analysis_sets(stratified_data, expvars, data, threshold)

Arguments

stratified_data

List of stratified data sets, see make_knn_strata

expvars

Character vector of exposure variable for each set in stratifed_data

data

Original case control data

threshold

Maximum distance threshold for cases and controls created by get_threshold

Details

For more information, please refer to the vignette using browseVignettes("nncc").

Value

A list of data frames with the length of number of exposures


[Package nncc version 2.0.0 Index]