draw_mcc0: <Private function> Draw matched case-control data from...

View source: R/draw_mcc.R

draw_mcc0R Documentation

<Private function> Draw matched case-control data from cohort, taking all cases available

Description

<Private function> Draw matched case-control data from cohort, taking all cases available

Usage

draw_mcc0(cohort, y_name, n_per_case, match_var_names)

Arguments

cohort

Cohort data.

y_name

Name of the column of outcome. A string.

n_per_case

Number of controls matched to each case.

match_var_names

Name(s) of the match variable(s) in cohort. A string vector.


nyilin/SamplingDesignTools documentation built on Nov. 20, 2022, 8:07 a.m.