Description Usage Arguments Details Value Examples
View source: R/plot_function.R
Takes the fitted values(actual values) less the predicted values creating the residuals. These are then plotted as a density curve over one another, using the geom_density from ggplot2.
1 2 |
x |
A sumcat list object which is the summary of classifications made by four different Classification methods. Can be reproduced with the model_cat() function. |
y |
A null value in this case as all the information is stored inside the x object which is a sumcat object. |
... |
Parameters that can be passed on to later functions if needed. |
Plot function which visualize residual density plots from several methods for classification. Returns a plot with each residual density plot colored.
A density plot made with functions provided by the ggplot2 package
1 2 | x <- model_cat(Potability~., water_potability, water_test)
plot(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.