Description Usage Arguments Details Value References See Also
View source: R/contingency_table_data.R
Builds a contingency table for a cross-over dataset.
1 | contingency_table_data(data, outcome, summary = T)
|
data |
A |
outcome |
The chosen binary outcome variable from |
summary |
A |
contingency_table_data()
supports the calculation of a contingency
table for a cross-over dataset. Precisely, a dataset of class
xover_data
is provided (see data
), along with a binary outcome
variable within this dataset (see outcome
), and the data is reduced to
its complete case form for this outcome. A contingency table is then
constructed for this complete case data.
Note that datasets can be converted to class xover_data
using
as_xover_data
.
A tibble
containing the determined contingency
table.
Jones B, Kenward MG (2014) Design and Analysis of Cross-Over Trials. Chapman and Hall: London, 3rd Edition.
as_xover_data
for converting datasets to class
xover_data
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.