GetDeltaPAndTc {hivModelling}R Documentation

GetDeltaPAndTc

Description

Get Delta and Tc parameters based on intervals specification.

Usage

GetDeltaPAndTc(intervals, maxYear, noStage = 5)

Arguments

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

Value

List with DeltaP and Tc

Examples

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)


[Package hivModelling version 0.9.13 Index]