Description Usage Arguments Details Value References See Also
Facilitates the analysis of binary outcome data in a cross-over dataset.
1 2 3 |
data |
A |
outcome |
The chosen binary outcome variable from |
method |
A |
alternative |
|
complete_case |
A |
exact |
A |
correct |
Only used in the case that |
conf_level |
The confidence level to use in confidence interval
construction. Should be a single |
carryover |
Only used in the case that |
summary |
A |
... |
Additional arguments to pass to |
an_bin()
supports the analysis of binary outcome data from a
cross-over trial. Precisely, a dataset of class xover_data
is provided
(see data
), along with a binary outcome variable within this dataset
(see outcome
). The value of method
, and several other input
arguments, then determines the type of analysis performed on the data. At
present, the following values of method
are supported:
"conditional_logistic"
: To analyse using conditional logistic
regression;
"gee"
: To analyse using a generalised estimating equation;
"glmm"
: To analyse using a generalised linear mixed model;
"mainland_gart"
: To analyse using the Mainland-Gart test;
"mcnemar"
: To analyse using McNemar's test;
"prescott"
: To analyse using Prescott's test.
See the package vignette for further dettails.
Note that datasets can be converted to class xover_data
using
as_xover_data
.
A list
or class xover_an
containing in
particular a list
test_results
describing the
results of the chosen test.
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.