trim_sturmer: Sturmer trimming function

Description Usage Arguments Value

View source: R/01_prepare_data.R

Description

.. content for details ..

Usage

1
trim_sturmer(A, ps0, ps1, ps2, levels, thres)

Arguments

A

Treatment indicator vector having three levels indicated in levels.

ps0

PS vector for the first level.

ps1

PS vector for the second level.

ps2

PS vector for the third level.

levels

Character vector holding three elements corresponding to levels in A

thres

Threshold for the trimming strategy.

Value

A numeric indicator vector. 1 for kept and 0 for dropped.


kaz-yos/trim3 documentation built on May 3, 2019, 7:40 p.m.