Skip to contents

This function is used to extract death records in the study based on the adverse events and final disposition records.

Usage

get_death_flag(.studysum, .adverse, .recadv)

Arguments

.studysum

Final dispositions record for ADNI3-4, see STUDYSUM()

.adverse

Adverse events record data.frame for ADNI3-4 study phase, see ADVERSE()

.recadv

Adverse events record data frame for ADNI1-GO-2, see RECADV()

Value

A data.frame with the following columns:

  • RID: Subject ID

  • ORIGPROT: Original study protocols

  • COLPROT: Study data collection protocols which the event was recorded

  • DTHDTC: Death date

  • DTHFL: Death flag, Yes

See also

Other ADNI flag functions: get_disposition_flag()

Examples

if (FALSE) { # \dontrun{
library(tidyverse)
library(ADNIMERGE2)
get_death_flag(
  .studysum = ADNIMERGE2::STUDYSUM,
  .adverse = ADNIMERGE2::ADVERSE,
  .recadv = ADNIMERGE2::RECADV
)
} # }