drug: A Trial on the Effect of Time-Varying Doses of a Drug

Description Usage Format Details Author(s) Source See Also

Description

The data set contains simulated data from an hypothetical randomized controlled trial on the effect of time-varying doses of a drug. The study include records for 200 randomized subjects, each receiving doses of a drug randomly allocated in two out of four weeks, with daily doses varying each week. The daily doses are reported on 7-day intervals corresponding to each week.

Usage

1

Format

A data frame with 200 observations on the following 7 variables.

Details

The exposure history for each subject (series of daily doses from day 28 to 1) can be recovered by expanding the values given in day1.7-day22.28.

Author(s)

Antonio Gasparrini <antonio.gasparrini@lshtm.ac.uk>

Source

This data set only contains simulated data.

See Also

nested for an example of nested case-control study data. chicagoNMMAPS for an example of time series data.

The application of DLNMs to these data with detailed examples are provided in the vignette dlnmExtended.

See dlnm-package for an introduction to the package and for links to package vignettes providing more detailed information.


dlnm documentation built on Oct. 7, 2021, 5:09 p.m.