getPsModel: Get the propensity model

Description Usage Arguments Value

View source: R/PsFunctions.R

Description

Returns the coefficients and names of the covariates with non-zero coefficients.

Usage

1
getPsModel(propensityScore, cohortMethodData)

Arguments

propensityScore

The propensity scores as generated using the createPs() function.

cohortMethodData

An object of type CohortMethodData as generated using getDbCohortMethodData().

Value

A tibble.


escott12/CohortMethod documentation built on Dec. 20, 2021, 6:37 a.m.