Description Usage Arguments Details Value Author(s) See Also Examples
Fits the augmented binary method, using an underlying two-component latent variable model.
1 | augbin(data = build_augbin_data(), summary = FALSE)
|
data |
A dataset to analyse. Must be an object of class
|
summary |
A |
The responder outcome is assumed to define a responder when a continuous component is below a particular dichotomisation threshold and a binary component is 0.
A list
of additional class
"augbin"
, to enable use with several available S3 functions. It will
contain two components:
A tibble
in the slot "odds_ratio"
with
three columns, giving the estimated odds ratio and the limits of its 95%
confidence interval.
A list
in the slot "inputs"
, containing each
of the input variable.
James MS Wason, Michael J Grayling.
build_augbin_data
,
print.augbin
, summary.augbin
,
plot.augbin
.
1 2 | # Use the augmented binary method on a randomly generated dataset
odds_ratio <- augbin()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.