Man pages for vando026/ahri
R functions for estimating HIV incidence with AHRI data

addARTCovaddARTCov
addCircumVarAdds the ever circumcised variable to an existing dataset.
addHIVPrevBSaddHIVPrevBS
addMigrVarsaddMigrVars
AggByAgeAggregates sero events and person years by age category.
AggByYearAggregates sero events and person years by year.
AggFuncFunction for making the AggByYear and AggByAge functions.
ahriahri: R package for estimating HIV incidence with the AHRI...
calcARTCovcalcARTCov
calcPoisExactCalculate crude incidence rates using the Poisson exact...
check_getFilescheck_getFiles
check_varcheck_var
dropTasPDataDrop TasP (Northern Areas) from a dataframe.
gdat_demoExample datasets for G-imputation
getAgeYearCalculate mean age by year.
getARTDatesGet ART initiation dates from Surveillance Episodes dataset.
getBirthDateGets the birthdates form the Surveillance Episodes dataframe.
getBSDataRead in the standard Bounded Structures .dta dataset.
getBSMaxGets the BSIntID that IIntID spent most time in a...
getCircumcisionDataGets circumcision data from the MGH dataset.
getCondomUseVarGet variable for ever used condom status from Men and Women's...
getDatesgetDates
getDatesMaxFunction to get latest HIV test dates
getDatesMinFunction to get earliest HIV test dates.
getEpisodesLoad the standard Surveillance Episodes dataframe into...
getEverARTCreates an Ever on ART variable.
getGImputeAdd theimputed infection times to an existing dataframe.
getHIVLoads the standard HIV dataset into R.
getIncDataFunction to impute serodate, split at censoring date, and set...
getIncidenceCalculate annual HIV incidence rates using the single...
getMGHLoads the Men's general health (MGH) dataframe into memory.
getRTDataCreates a dataset for HIV repeat-testers.
getWGHLoads the Women's general health (WGH) dataframe into memory.
getYearDatesGet the numeric version of date for 01JanXXXX.
gImputeUses the G-imputation method to impute the HIV sero date...
imputeEndPointImpute a end-point seroconversion date within the censored...
imputeMidPointImpute a mid-point seroconversion date within the censored...
imputeRandomPointImpute random seroconversion date(s) within the censored...
makeAgeVarsFunction for making Age and AgeCat variables
makeMigrVarsmakeMigrVars
makePropResMakes a variable of the proportion of time that a participant...
MIaggregateAggregates the HIV incidence results after mutiple...
MIdataFunction to generate multiple datasets with imputed serodate.
MIpredictPredict incidence rate estimates after multiple imputation.
readARTCovreadARTCov
readEpisodesRead in the standard Surveillance .dta dataset.
readHealthDatareadHealthData
readHIVDataReads the standard HIV .dta file into R.
readMGHReads the standard Men (MGH) General Health .dta dataset into...
readUniRegResultsRead the results from the unireg model into dataframe.
readWGHReads the standard Women's General Health (WGH) .dta dataset...
rtdat_demoExample datasets for G-imputation
runUniRegrunUniReg
setAgeSet age according to user arguments.
setArgsSet arguments and parameters to control functions and data...
setDataSets data according to a list of arguments.
setEpisodesSubset the Surveillance Episodes dataframe by user arguments.
setFilesSet the path and filenames to the standard AHRI datasets....
setHIVSubsets the HIV dataset according to user arguments.
splitAtEarlyPosSplit data at the earliest HIV-positive date.
splitAtSeroDateSplit data at the imputed seroconversion date.
splitData2Function for splitting data into episodes.
test_ahri_dtatest_ahri_dta
test_ahri_hivtest_ahri_hiv
test_ahri_settest_ahri_set
uniReguniReg
uniRegOneuniRegOne
vando026/ahri documentation built on Aug. 10, 2024, 3:20 p.m.