Description Usage Arguments Value
View source: R/QCMemo_script.R
The function makeSSTable
creates the standard sample size table
included in all QC memos (i.e., cross-tabulated by cohort, context, and
research group).
1 2 3 4 5 6 | makeSSTable(
inputds,
cohort_var = "cohort",
context_var = "context",
racode_var = "racode"
)
|
inputds |
A dataset with one row per unit (i.e. a Step 2 dataset). |
cohort_var |
The name of the cohort variable on |
context_var |
The name of the context variable on |
racode_var |
The name of the research group variable on |
A flextable
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.