trunc_fun: Trimming

View source: R/trunc_fun.R

trunc_funR Documentation

Trimming

Description

The function trims the weights for IPTW methods.

Usage

trunc_fun(x, trim_perc = 0.05)

Arguments

x

A numeric vector

trim_perc

A numeric vector with length 2 indicating trimming percentile.

Value

A numeric vector


CIMTx documentation built on June 24, 2022, 9:07 a.m.

Related to trunc_fun in CIMTx...