recency_test: Get which IDs are at early stage of HIV infection in the past...

View source: R/utils.R

recency_testR Documentation

Get which IDs are at early stage of HIV infection in the past 6 months

Description

This function mimics the idea of the recency test. It selects the IDs of individuals with recent HIV infection (in the past 6 months)

Usage

recency_test(sampled_info, stages)

Arguments

sampled_info

dataframe of sampled IDs and sampled times

stages

dataframe that tracks the stage of HIV infection for each ID.

Value

Vector of IDs.


thednainus/HIVepisimAnalysis documentation built on Sept. 21, 2023, 7:32 a.m.