Description Usage Arguments Value
View source: R/propensity_score_linear.R
Function to predict treatment using glm
(binomial) or lm
.
1 | propensity_score_linear(use_linear_lm = FALSE)
|
use_linear_lm |
Whether to use lm or glm. |
returns a function that accepts train_test_list
and this returns a vector of predictions for the test data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.