summary.logistic: Summary method for the logistic function

Description Usage Arguments Details See Also Examples

View source: R/logistic.R

Description

Summary method for the logistic function

Usage

1
2
3
## S3 method for class 'logistic'
summary(object, sum_check = "", conf_lev = 0.95,
  test_var = "", dec = 3, ...)

Arguments

object

Return value from logistic

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

1
2
3
4
5
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")

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.