View source: R/cdm.miss.strata.R
cdm.miss.strata | R Documentation |
cdm.miss.strata()
is a small function which suppresses any output
cdm.miss.strata(df, id, cols, strata, fudate, lostFU, filter, blind,
n_sites, setting, caption)
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. |
Returns a full markdown output.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.