make_analysis_sets: Make analysis datasets

View source: R/make_analysis_set.R

make_analysis_setsR 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


nncc documentation built on May 29, 2024, 5:05 a.m.