Skip to contents

Identifies the weights closest to tipping points for specified quantiles.

Usage

get_tipping_points(tipmap_data, quantile, null_effect = 0)

Arguments

tipmap_data

A data frame created by create_tipmap_data().

quantile

The quantile(s) of the tipping point. Possible values are 0.025, 0.05, 0.1, 0.2, 0.8, 0.9, 0.95 and 0.975.

null_effect

The null treatment effect. Defaults to 0.

Value

The weight closest to the tipping point for the specified quantile

See also

[create_tipmap_data()].

Examples

tip_dat <- load_tipmap_data("tipdat.rds")#'
get_tipping_points(tip_dat, quantile = 0.025)
#> q0.025 
#>   0.75 
get_tipping_points(tip_dat, quantile = c(0.025, 0.05, 0.1, 0.2), null_effect = 0.1)
#> q0.025  q0.05   q0.1   q0.2 
#>  0.825  0.520  0.250  0.055