summary.logistic {radiant.model} | R Documentation |
Summary method for the logistic function
Description
Summary method for the logistic function
Usage
## S3 method for class 'logistic'
summary(object, sum_check = "", conf_lev = 0.95, test_var = "", dec = 3, ...)
Arguments
object |
Return value from |
sum_check |
Optional output. "vif" to show multicollinearity diagnostics. "confint" to show coefficient confidence interval estimates. "odds" to show odds ratios and confidence interval estimates. |
conf_lev |
Confidence level to use for coefficient and odds confidence intervals (.95 is the default) |
test_var |
Variables to evaluate in model comparison (i.e., a competing models Chi-squared test) |
dec |
Number of decimals to show |
... |
further arguments passed to or from other methods |
Details
See https://radiant-rstats.github.io/docs/model/logistic.html for an example in Radiant
See Also
logistic
to generate the results
plot.logistic
to plot the results
predict.logistic
to generate predictions
plot.model.predict
to plot prediction output
Examples
result <- logistic(titanic, "survived", "pclass", lev = "Yes")
result <- logistic(titanic, "survived", "pclass", lev = "Yes")
summary(result, test_var = "pclass")
res <- logistic(titanic, "survived", c("pclass", "sex"), int = "pclass:sex", lev = "Yes")
summary(res, sum_check = c("vif", "confint", "odds"))
titanic %>%
logistic("survived", c("pclass", "sex", "age"), lev = "Yes") %>%
summary("vif")
[Package radiant.model version 1.6.6 Index]