CD4sim: Simulated HIV data

Description Usage Format Source Examples

Description

A simulated dataset of HIV patients undergoing treatment. At each timepoint treatment is initiated with increasing probability as CD4 values for patients are decreasing. Treatment has a positive effect on CD4. The lower the CD4 value, the higher risk the patient has for getting the event AIDS.

Usage

1

Format

A data frame with 4894 observations on the following 5 variables.

id

id number

time

observation times

treat

treatment indicator

cd4

square root of CD4

AIDS

event indicator

Source

Simulated data

Examples

1

Example output

Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: MASS

FLIM documentation built on May 29, 2017, 11:30 p.m.