plot_logit | R Documentation |
Non-interactive visualization function that plots given points, logistic regression line and relevant statistics.
plot_logit(points, ...)
points |
A |
formula |
A |
regression |
Logical parameter of whether to plot a regression line (TRUE by default) |
stats |
Logical parameter of whether to display relevant statistics on the plot area (TRUE by default). The following parameters are provided on the plot area:
|
A dataframe
containing the points coordinates.
interactive_regression
mydata <- data.frame(iv = c(-6, -3, 1, 3, 5, 8), dv = c(0, 0, 0, 1, 1 ,1)) plot_logit(mydata, formula = dv ~ iv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.