GetDeltaPAndTc {hivModelling} | R Documentation |
Get Delta
and Tc
parameters based on intervals specification.
GetDeltaPAndTc(intervals, maxYear, noStage = 5)
intervals |
data.frame with specifications of intervals. Required. |
maxYear |
Integer denoting last year for modelling. Required. |
noStage |
Number of CD4 progression stages, including AIDS. Optional. Default = 5 |
List with DeltaP and Tc
intervals <- data.table::data.table( StartYear = c(1980L, 1984L, 1996L, 2000L, 2005L, 2010L), Jump = c(FALSE, TRUE, FALSE, FALSE, FALSE, FALSE), DiffByCD4 = c(FALSE, FALSE, FALSE, FALSE, FALSE, FALSE), ChangeInInterval = c(FALSE, FALSE, FALSE, FALSE, FALSE, FALSE) ) GetDeltaPAndTc(intervals, 2016L)