View source: R/create_weighting.R
create_weighting | R Documentation |
Generates pseudo population based on weighting casual inference method.
create_weighting(dataset, exposure_col_name)
dataset |
A gps object data. |
exposure_col_name |
The exposure column name. |
Returns a data table which includes the following columns:
Y
w
gps
counter
row_index
ipw
covariates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.