match_pair_info {vaccineff}R Documentation

Match Information by Pairs

Description

This function matches numeric/date information of a pair provided in the column column_to_match. This matching procedure is required for sharing the censoring information and the exposure times when adjusting and removing negative exposures generated by incoherent exposure dates.

Usage

match_pair_info(data_set, column_to_match, criteria = c("min", "max"))

Arguments

data_set

data.frame with cohort information.

column_to_match

The name of the column that contains the information shared by the pairs.

criteria

Selection criteria when both individuals provide information. This can be the minimum (min) or maximum (max) value.


[Package vaccineff version 1.0.0 Index]