Description Usage Arguments Value Examples
Function used to calculate the maximum factor by which a risk ratio is biased, given possible values for each of the parameters that describe the bias factors for each type of bias.
1 | calculate_bound(..., biases)
|
... |
Named parameter values with which to calculate a
bound. Names must correspond to the parameters defining the biases
provided by |
biases |
A list of biases to include in the calculation of the bound.
May include any or all of |
Returns the value of the bound formed as a function of the provided parameters.
1 2 3 4 5 6 7 8 9 10 | calculate_bound(RRAU = 2.2, RRUY = 1.7,
biases = list(confounding()))
calculate_bound(RRUY = 3, RRAU = 2, RRUYA0 = 2.3,
RRUYA1 = 5.2, RRYAa = 8.3,
biases = list(
confounding(), selection("S = U"),
misclassification("exposure",
outcome_rare = TRUE, exposure_rare = FALSE)
))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.