create_weighting: Create pseudo population using weighting casual inference...

View source: R/create_weighting.R

create_weightingR Documentation

Create pseudo population using weighting casual inference approach

Description

Generates pseudo population based on weighting casual inference method.

Usage

create_weighting(dataset, exposure_col_name)

Arguments

dataset

A gps object data.

exposure_col_name

The exposure column name.

Value

Returns a data table which includes the following columns:

  • Y

  • w

  • gps

  • counter

  • row_index

  • ipw

  • covariates


CausalGPS documentation built on June 22, 2024, 9:31 a.m.