plot_discrim: Create a discriminant analysis decision plot using ggplot.
Description
Discriminant analysis can be more easily understood from plots of the data variables showing how observations are classified.
plot_discrim() uses the ideas behind effect plots: Visualize predicted values for two focal variables over a
grid, with other variables in a model held fixed.
levels to use for evaluating predictions using the variables *not specified in vars. If not specified, the function uses the means for quantitative variables, ...
In setting up this plot for ggplot2::ggplot(), this function maps color and shape of class-specific elements of the plot to the value of
the class variable in the discriminant analysis. But it simply uses the ggplot defaults...