quickplot: Plot Samples by their Predicted Probabilities

Description Usage Arguments Value Examples

View source: R/quickplot.log.R

Description

only supports binary logistic regression at this time.

Usage

1
quickplot(model, data, ind_column, title)

Arguments

model

model to be used

data

testing/training/validation data set, MUST have all the predictors in the model

ind_column

independent (outcome) variable column in dataset - please use data$column syntax

title

title for the plot

Value

a plot

Examples

1
2
3
4
5
## Not run: 
iris2 <- iris[stringr::str_detect(Species, "setosa", negate = T), ]
irismodel <- glm(Species ~ ., data = iris2, family = binomial)
quickplot(irismodel, iris2, iris2$Species, "Plot")
## End(Not run)

bmcguir8/mcguiR documentation built on Jan. 7, 2021, 8:40 p.m.