Description Usage Arguments Value
View source: R/logisticMargins.R
For a logistic regression model with a binary main effect, obtain predicitive margins along with their corresponding risk ratio, relative risk, odds ratio, and standard errors.
1 | logisticMargins(formula, main_effect, over, data)
|
formula |
The formula for the logistic regression model |
main_effect |
The variable name of the main effect in your model. |
over |
A Boolean variable. If |
data |
The data that will be used to fit the logistic regression model. |
A data.frame
containing the predictive margins, a risk ratio, a relative risk, an odds ratio, and their standard errors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.