getData4kate | R Documentation |
Values other then 1 are interpreted as 0.
getData4kate(FRM_KAT)
FRM_KAT |
data.table containing the table FRM_KAT from the database of the PROGRESS study |
data.table. Each row corresponds one patient, identified by the column "patstuid". Columns "kate_<name of the time point>" contain the data on KATECHO in the wide format. Columns "kat.atall", "kat.d0", "kat.ab.d1" are logical and indicate, if KATECHO == 1 at any time, at d0 and after d0.
## Not run:
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
FRM_KAT <- readxl::read_excel(excel_fn, "FRM_KAT")
data.table::setDT(FRM_KAT)
toadd_kate <- getData4kate(FRM_KAT)
toadd_kate
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.