get_difference: Estimate difference between sampling time and time of...

View source: R/summary_utils.R

get_differenceR Documentation

Estimate difference between sampling time and time of infection

Description

Estimate the difference in months between time of infection of a susceptible individual and time of sampling of that same individual. It assumes that a month has 30 days.

Usage

get_difference(df1, df2)

Arguments

df1

Dataframe with information on time of sampling

df2

Transmission matrix to get information on when the individual got infected

Value

Dataframe with difference in months.


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