MIdata: Function to generate multiple datasets with imputed serodate.

View source: R/getIncidence.R

MIdataR Documentation

Function to generate multiple datasets with imputed serodate.

Description

Function to generate multiple datasets with imputed serodate.

Usage

MIdata(rtdat, Args, f = identity, bdat = NULL)

Arguments

rtdat

Dataframe from getRTData.

Args

Takes list from setArgs.

f

Function to perform additional operations.

bdat

Dataframe of birthdates, otherwise it use getBirthDate

Value

list

Examples

Args <- setArgs(nSim=2, mcores=1)
rtdat <- getRTData(dat=getHIV())
MIdata(rtdat, Args)

vando026/ahri documentation built on Aug. 10, 2024, 3:20 p.m.