Description Usage Arguments Value
This function estimates the fitted value from a linear hierarchical mixed effects model, with the generalized propensiy score and treatment occuring at the highest level
1 | continuous_nav(formula, data, tx, intervals = 50, covs, ...)
|
formula |
This is a formula object specifying the dose-response model |
data |
This is the data frame used to fit the model |
tx |
This is the continuous treatment vector |
intervals |
Specify the number of intervals to include. |
covs |
Matrix of observed covariates |
interact_vars |
Specifies a character subset of the variables from the matrix covs and adds in pairwise interactions between all included covariates |
polynomial_vars |
Specifies a character subset of variables from the matrix covs to include as polynomial terms |
polynomial_deg |
Scalar value that identifies to what power the polynomial variable should be raised |
Returns a lme4 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.