prepare_ncc_cases: <Private function> Prepare the NCC cases for subsequent...

View source: R/km_type_weights.R

prepare_ncc_casesR Documentation

<Private function> Prepare the NCC cases for subsequent steps.

Description

<Private function> Prepare the NCC cases for subsequent steps.

Usage

prepare_ncc_cases(ncc_cases, t_name, match_var_names)

Arguments

ncc_cases

Cases in NCC data. A data.frame or a matrix with column names. This data should not include the ID of each matched set.

t_name

Name of the variable in ncc_cases for event time. A string.

match_var_names

Name(s) of the match variable(s) in ncc_cases used when drawing the NCC. A string vector.


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