R/plotResiduals.R
    plotResiduals.RdPlots for model diagnostics. Provides scatterplots of true vs. predicted values and histograms of the model's residuals.
plotResiduals( obj, type = "scatterplot", loess.smooth = TRUE, rug = TRUE, pretty.names = TRUE )
| obj | (Prediction | BenchmarkResult)  | 
    
|---|---|
| type | Type of plot. Can be “scatterplot”, the default. Or “hist”, for a histogram, or in case of classification problems a barplot, displaying the residuals.  | 
    
| loess.smooth | (  | 
    
| rug | (  | 
    
| pretty.names | (  | 
    
ggplot2 plot object.
Other plot: 
createSpatialResamplingPlots(),
plotBMRBoxplots(),
plotBMRRanksAsBarChart(),
plotBMRSummary(),
plotCalibration(),
plotCritDifferences(),
plotLearningCurve(),
plotPartialDependence(),
plotROCCurves(),
plotThreshVsPerf()