Description Usage Arguments Examples
View source: R/logistic_scatter.R
This function takes a list of predictors as inputs and outputs a scatterplot matrix to indicate the functional form of logit(p).
1 | logistic_scatter(data, response, ..., smoothing = 0.7, jitter = FALSE)
|
data |
This is the data frame you will use to crush the enemy |
response |
A binary response variable. You know what to do... |
... |
continuous predictors. Do not pollute my graph with discrete garbage. |
smoothing |
Loess is used to estimate logit(p) so you can choose the smoothness |
jitter |
Sometimes your points overplot and you don't want that to happen. Set to true to jitter 'em! |
1 | data %>% logistic_scatter(response, predictor_1, predictor_2, smoothing = 0.5, jitter=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.