View source: R/main_estimation.R

Alternative approach to manually define parts of the propsensity score model with formula/strata and model controls

1 | ```
define_single_regression(OData, regforms, stratify = NULL, params = list())
``` |

`OData` |
OData Input data object created by |

`regforms` |
Regression formula, only main terms are allowed. |

`stratify` |
Expression(s) for creating strata(s) (model will be fit separately on each strata) |

`params` |
Additional modeling controls (for downstream modeling algorithms) |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.