File: summary.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 (54 lines) | stat: -rw-r--r-- 1,648 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
49
50
51
52
53
54
\name{summary.stablelearnerList}
\alias{summary.stablelearner}
\alias{summary.stablelearnerList}
\alias{print.summary.stablelearnerList}

\title{Summarize Results from Stability Assessment}

\description{
  Summarizes and prints the results from stability assessments performed by 
  \code{\link{stability}}.
}

\usage{
\method{summary}{stablelearnerList}(object, ..., reverse = TRUE, 
  probs = c(0.05, 0.25, 0.5, 0.75, 0.95), digits = 3, names = NULL)
}

\arguments{
  \item{object}{a object of class \code{"stablelearner"} or 
    \code{"stablelearnerList"} to be summarized.}
  \item{\dots}{Arguments passed from or to other functions (currently ignored).}
  \item{reverse}{logical. If \code{reverse = TRUE} (default), the similarity 
    values summarized in the \code{summary} output are transformed (reversed) 
    such that higher values indicate a higher stability.}
  \item{digits}{integer. The number of digits used to summarize the similarity 
    distribution in the \code{summary} output.}
  \item{probs}{a vector of probabilities used tosummarize the similarity 
    distribution in the \code{summary} output.}
  \item{names}{a vector of characters to specify a name for each result from 
    statistical learning in the \code{summary} output.}
}

\seealso{\code{\link{stability}}}

\examples{

\donttest{

library("partykit")

rval <- ctree(Species ~ ., data = iris)
stab <- stability(rval)

summary(stab)
summary(stab, reverse = FALSE)
summary(stab, probs = c(0.25, 0.5, 0.75))
summary(stab, names = "conditional inference tree")

}

}

\keyword{resampling}
\keyword{similarity}