cdm.miss.strata: Quiet any output (cdm.miss)

View source: R/cdm.miss.strata.R

cdm.miss.strataR Documentation

Quiet any output (cdm.miss)

Description

cdm.miss.strata() is a small function which suppresses any output

Usage

cdm.miss.strata(df, id, cols, strata, fudate, lostFU, filter, blind,
n_sites, setting, caption)

Arguments

df

dateframe to be assessed for missing data

id

column-name for unique id's

cols

columns to be assessed for missing data

strata

colum to aggregate missingness

fudate

column with the date of follow-up, i.e. when data is missing

lostFU

column for patients lost to follow up, TRUE/FALSE in the column

filter

how many should be shown in figures - 'all' for all, 'waiting' for those with missing or waiting for data, and 'missing' for only those with missing data

blind

boolean if TRUE, participant IDs will be blinded.

n_sites

number of sites presented per figure

setting

setting if it is a full report "full" or if it a public report "short" or if it is site specific where the site name is set, e.g. "SKM".

caption

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

Value

Returns a full markdown output.

Examples

## Not run: 
   cdm.miss.strata(data,id=idcols[[1]],strata="site",
   cols=missing.cols,lostFU="lostFU",
   fudate = "follow_up_date", filter="missing")

## End(Not run)


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