visit_labeller: Annotates an ihist with visit_numbers and rel_sample_dates

Description Usage Arguments

View source: R/data_processing.R

Description

Given an ihist with the four main columns, add a visit_number column with the first visit at which any test was positive as 0. The visit immediately before the first positive visit is visit_number -1 while the visit immediately after the first positive visit is visit_number 1.

Usage

1

Arguments

ihist

An ihist.


philliplab/tsic documentation built on June 26, 2020, 7:55 p.m.