Description Usage Format Source References Examples
Data from the ACTG315 clinical trial of HIV-infected adults undergoing ART. Data are included for 46 individuals, with HIV viral load measurements observed on specific days up to 28 weeks after treatment initiation, and converted to log10 RNA copies/ml. The RNA assay detection threshold was 100 copies/ml. Additional columns include patient identifiers and CD4 T cell counts.
1 |
A data frame with 361 rows and 5 columns:
Row number
Numerical patient identifier
Time of each observation, in days since treatment initiation
HIV viral load measurements, in log10 RNA copies/ml
CD4 T cell counts, in cells/mm^3
Lederman et al (1998) JID 178(1), 70–79; Connick et al (2000) JID 181(1), 358–363; Wu and Ding (1999) Biometrics 55(2), 410–418.
1 2 3 4 5 6 7 8 9 10 | library(dplyr)
data(actg315raw)
actg315 <- actg315raw %>%
mutate(vl = 10^log10.RNA.) %>%
select(id = Patid, time = Day, vl)
print(head(actg315))
plot_data(actg315, detection_threshold = 100)
|
Loading required package: dplyr
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Loading required package: tidyr
Loading required package: ggplot2
id time vl
1 1 0 22998.5259
2 1 2 22998.5259
3 1 7 3400.1651
4 1 16 949.9484
5 1 29 440.0479
6 1 57 129.9870
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.