Description Usage Arguments Details Examples
Binary Logistic Regression: Classification Table
1 | classification_table(model, response)
|
model |
A binary logistic regression model object. |
response |
The dependent variable in |
Creates classification table for binary logistic regresison model using optimal cut point for accuracy.
1 2 3 4 5 6 | formulas <- create_formula_objects("am", c("hp", "mpg"), c("disp"),
c("drat"))
mtcars_models <- create_model_objects(formulas, data=mtcars,
type="binomial")
last_model <- mtcars_models[[length(mtcars_models)]]
classification_table(last_model, last_model$model[,1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.