Computes selection bias E-value for a single value of the risk ratio. Users
should typically call the relevant svalues.XX()
function rather than
this internal function.
threshold_selection(
x,
true = 1,
sel_pop = FALSE,
S_eq_U = FALSE,
risk_inc = FALSE,
risk_dec = FALSE,
...
)
The risk ratio
The true RR to which to shift the observed point estimate. Typically set to 1 to consider a null true effect.
Whether inference is specific to selected population (TRUE) or entire population (FALSE). Defaults to FALSE.
Whether the unmeasured factor is assumed to be a defining characteristic of the selected population. Defaults to FALSE.
Whether selection is assumed to be associated with increased risk of the outcome in both exposure groups. Defaults to FALSE.
Whether selection is assumed to be associated with decreased risk of the outcome in both exposure groups. Defaults to FALSE.