createTrimByPsArgs: Create a parameter object for the function trimByPs

View source: R/CreateArgFunctions.R

createTrimByPsArgsR Documentation

Create a parameter object for the function trimByPs

Description

Create a parameter object for the function trimByPs

Usage

createTrimByPsArgs(trimFraction = 0.05)

Arguments

trimFraction

This fraction will be removed from each treatment group. In the target group, persons with the highest propensity scores will be removed, in the comparator group person with the lowest scores will be removed.

Details

Create an object defining the parameter values.


OHDSI/CohortMethod documentation built on Feb. 9, 2024, 9:01 a.m.