This internal function defines a plot
method for an object
of logitModel class.
1 2 3 |
model |
an object of class logitModel. |
which |
numeric vector indicating which plot to be plotted. 1: Residuals vs Fitted. 2: Normal Q-Q. 3: Scale Location. 4: Residual vs Leverage |
col |
optional string or numeric vector to indicate colours of data points for response variable. If missing, assigned values for 0 and 1 will be c("#483D8BD0", "#B22222D0"), blue and red respectively. |
ask |
optional boolean wether inteded to plot interactively or not. Default value checks if graphics device are in interactive mode and wheter the user previously defined a matrix plotting layout in order to make a sensible guess about asking for each plot or not. |
cookLevels |
vector indicating levels of Cook's Distance to be drawn in plot 4 (Residual vs Leverage). |
... |
methods are required to include (at least) the same arguments as their generic functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.