trunc_fun {CIMTx}R 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


[Package CIMTx version 1.2.0 Index]