cdm.status: Trial status for central data monitoring (cdm.status)

View source: R/cdm.status.R

cdm.statusR Documentation

Trial status for central data monitoring (cdm.status)

Description

cdm.status() is a function to provide an overview of the trial status

Usage

cdm.status(d, sample.size, planned.years, rolling.average, caption)

Arguments

d

list of dates for each participant included.

sample.size

the planned sample size

planned.years

the planned duration of the trial

rolling.average

the number of participant to be included to calculate the predicted inclusion rate

caption

boolean to add or remove a small description of the figure.

Value

returns a list where ⁠$fig⁠ is the figure; ⁠$txt⁠ is as summary of the findings; and ⁠$df⁠is the dataframe generated in the function.

Examples

## Not run: 
   tmp <- cdm.status(d,sample.size=1808)

## End(Not run)


lilleoel/clintools documentation built on April 17, 2025, 6:09 p.m.