get_tipping_points: Identify tipping point for a specific quantile.

View source: R/get_tipping_points.R

get_tipping_pointsR Documentation

Identify tipping point for a specific quantile.

Description

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)
get_tipping_points(tip_dat, quantile = c(0.025, 0.05, 0.1, 0.2), null_effect = 0.1)


tipmap documentation built on Aug. 14, 2023, 5:09 p.m.