File: boxplot.Rd

package info (click to toggle)
r-cran-stablelearner 0.1-5%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\name{boxplot.stablelearnerList}
\alias{boxplot.stablelearner}
\alias{boxplot.stablelearnerList}

\title{Illustrate Results from Stability Assessment}

\description{
  Illustrates the results from stability assessments performed by 
  \code{\link{stability}} using boxplots.
}

\usage{
  \method{boxplot}{stablelearnerList}(x, ..., main = NULL, xlab = NULL, ylab = NULL, reverse = TRUE)
  \method{boxplot}{stablelearner}(x, ...)
}

\arguments{
  \item{x}{an object of class \code{"stablelearnerList"} to be illustrated.}
  \item{\dots}{Arguments passed to \code{\link{boxplot}}.}
  \item{main}{a character specifying the title. By default set to \code{NULL}.}
  \item{xlab}{a character specifying the title for the x axis. By default set 
    to \code{"Learner"}.}
  \item{ylab}{a character specifying the title for the y axis. By default set 
    to \code{NULL}.}
  \item{reverse}{logical. If \code{reverse = TRUE} (default), the similarity 
    values are transformed (reversed) such that higher values indicate a higher 
    stability.}
}

\seealso{\code{\link{stability}}, \code{\link{summary.stablelearnerList}}}

\examples{
\donttest{

library("partykit")
r1 <- ctree(Species ~ ., data = iris)

library("rpart")
r2 <- rpart(Species ~ ., data = iris)

stab <- stability(r1, r2, names = c("ctree", "rpart"))
boxplot(stab)

}
}

\keyword{resampling}
\keyword{similarity}