Description Usage Arguments Details Value References See Also
View source: R/complete_case_data.R
Reduces a cross-over dataset to complete case form.
1 | complete_case_data(data, outcome, summary = T)
|
data |
A |
outcome |
The chosen outcome variable from |
summary |
A |
complete_case_data()
supports the reduction of a cross-over dataset
to those outcomes corresponding to subjects with no missing data. Precisely,
a dataset of class xover_data
is provided (see data
), along
with an outcome variable within this dataset (see outcome
), and the
rows corresponding to subjects for whom at least one outcome variable is
missing for the chosen outcome variable, based on an assessment of
data$sequence
, are removed.
Note that datasets can be converted to class xover_data
using
as_xover_data
.
A tibble
of class xover_data
.
Specifically, the input dataset data
reduced to its complete case
form.
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.