View source: R/plotResiduals.R
plotResiduals | R Documentation |
Plots 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.