Description Usage Arguments Value Examples
Multiple biases (confounding()
, selection()
, and/or
misclassification()
) can be assessed simultaneously after creating a
multi_bias
object using this function.
1 | multi_bias(..., verbose = TRUE)
|
... |
Biases ( |
verbose |
Logical. If |
Invisibly returns a list with components whose values depend on the
options chosen: n
(the degree of the polynomial in the numerator), d
(the degree of the polynomial in the denominator), m
(the parameters in
the bias factor), mess
(any messages/warnings that should be printed for
the user), and bias
("misclassification").
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | biases <- multi_bias(confounding(),
selection("general"))
# print() lists the arguments for the multi_bound() function
print(biases)
# summary() provides more information
# with parameters in latex notation if latex = TRUE
summary(biases, latex = TRUE)
# Calculate a bound
multi_bound(biases = biases,
RRAUc = 1.5, RRUcY = 2, RRUsYA1 = 1.25,
RRSUsA1 = 4, RRUsYA0 = 3, RRSUsA0 = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.