Learn R Programming

dejaVu

Multiple Imputation for Recurrent Event Endpoints in Clinical Trials

The dejaVu package performs multiple imputation on recurrent event data sets, following the approach described by Keene et al. The package can be used to perform multiple imputation of an existing study dataset where some patients dropped out. Imputation can be performed either assuming dropout is at random (missing at random) or assuming a specific non-random dropout mechanism (missing not at random). The package can also be used to simulate recurrent event datasets, in order to evaluate the impact of dropout and the properties of multiple imputation based analyses. Finally, the imputed data sets can be analysed and their results combined using Rubin’s rules.

Contributors

Bartlett, Jonathan (maintainer); Burkoff, Nikolas; Metcalfe, Paul; Ruau, David;

Installation

To install the development version from GitHub:

install.packages("devtools")
# We spent a lot of time developing the vignettes. We recommend reading them but 
# building them from source takes some time
devtools::install_github("jwb133/dejaVu", 
                         build_vignettes = TRUE)

Copy Link

Version

Install

install.packages('dejaVu')

Monthly Downloads

215

Version

0.3.1

License

GPL (>= 2)

Maintainer

Jonathan Bartlett

Last Published

July 9th, 2024

Functions in dejaVu (0.3.1)

ConstantRateDrop

Create a Dropout Mechanism with constant dropout rate
extract_results

Extract the results of running a scenario
copy_reference

Create a copy reference ImputeMechanism object
simData

Simulated recurrent event data.
Simfit

S3 generic for fitting models
subjectsPerArm

S3 generic to output the number of subjects in each arm for a given object
expandEventCount

Expand event counts into a list of event times
ImputeSimFit.object

ImputeSimFit object
summary.Scenario.object

summary.Scenario object
summary.ImputeSimFit.object

summary.ImputeSimFit object
weighted_j2r

Create a weighted_j2r ImputeMechanism object
numberSubjects

S3 generic to output the number of subjects in a given object
SingleSimFit.object

SingleSimFit object
summary.SingleSim.object

summary.SingleSim object
summary.SingleSimFit

summary.SingleSimFit
CreateNewDropoutMechanism

A function which creates a DropOut Mechanism object
GetImputedDataSet

Output a single imputed data set
ImportSim

Import an existing data frame for use with the package
LinearRateChangeDrop

Create a Dropout Mechanism with drop out rate which changes by a fixed constant after every event
SingleSim.object

SingleSim Object
DejaData.object

Data frame of covariates for simulating recurrent events
DropoutMechanism.object

DropoutMechanism object
Scenario.object

Scenario object
CreateNewImputeMechanism

A function which creates an Impute Mechanism object
ImputeSim.object

ImputeSim object
Impute

Produce imputed data sets
CreateScenario

Create Scenario object from list of Fit Summaries
MakeDejaData

Create a DejaData object
SimulateComplete

Simulate a complete data set
ImputeMechanism.object

ImputeMechanism object
SimulateDropout

Simulate subject dropout