cdm.fig | R Documentation |
cdm.fig()
is a function to assess any deviations
cdm.fig(df, col, site, meta_title, seedno, output, nmin)
df |
dateframe to be assessed for missing data |
col |
column to be assessed |
site |
column with sites |
meta_title |
Y-axis lab, if empty then it is the column name |
seedno |
the numeric site, if empty it is just |
output |
if 'fig' then the figure is the output, any other will output the blinded site table |
nmin |
minimum number of variables in site to be presented |
Returns a full markdown output.
## Not run:
cdm.fig(df,col="Mode of birth",
site="maternal_trial_site")
cdm.fig(df,col="Gestational Age at birth",
site="maternal_trial_site")
library(knitr)
kable(cdm.fig(df,col="Mode of birth",
site="maternal_trial_site",output = ""),row.names=F)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.