dotplot.diff.resamples

0th

Percentile

Lattice Functions for Visualizing Resampling Differences

Lattice functions for visualizing resampling result differences between models

Keywords
hplot
Usage
## S3 method for class 'diff.resamples':
densityplot(x, data, metric = x$metric, ...)

## S3 method for class 'diff.resamples': bwplot(x, data, metric = x$metric, ...)

## S3 method for class 'diff.resamples': levelplot(x, data = NULL, metric = x$metric[1], what = "pvalues", ...)

## S3 method for class 'diff.resamples': dotplot(x, data = NULL, metric = x$metric[1], ...)

Details

densityplot and bwplot display univariate visualizations of the resampling distributions. levelplot displays the matrix of pair-wide comparisons. dotplot shows the differences along with their associated confidence intervals.

Value

  • a lattice object

See Also

resamples, diff.resamples, bwplot, densityplot, xyplot, splom

Aliases
Examples
#load(url("http://caret.r-forge.r-project.org/Classification_and_Regression_Training_files/exampleModels.RData"))

resamps <- resamples(list(CART = rpartFit,
                          CondInfTree = ctreeFit,
                          MARS = earthFit))
difs <- diff(resamps)

dotplot(difValues)

densityplot(difValues,
            metric = "RMSE",
            auto.key = TRUE,
            pch = "|")

bwplot(difValues,
       metric = "RMSE")

levelplot(difValues, what = "differences")
Documentation reproduced from package caret, version 5.07-001, License: GPL-2

Community examples

Looks like there are no examples yet.