File: ranking-class.Rd

package info (click to toggle)
r-cran-kernlab 0.9-33-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,216 kB
  • sloc: cpp: 6,011; ansic: 935; makefile: 2
file content (58 lines) | stat: -rw-r--r-- 1,422 bytes parent folder | download | duplicates (5)
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
55
56
57
58
\name{ranking-class}
\docType{class}
\alias{ranking-class}
\alias{edgegraph}
\alias{convergence}
\alias{convergence,ranking-method}
\alias{edgegraph,ranking-method}
\alias{show,ranking-method}

\title{Class "ranking"}
\description{Object of the class \code{"ranking"} are created from the
  \code{ranking} function and extend the class \code{matrix}}
\section{Objects from the Class}{

Objects can be created by calls of the form \code{new("ranking", ...)}.

}
\section{Slots}{
  \describe{
    \item{\code{.Data}:}{Object of class \code{"matrix"} containing the
      data ranking and scores}
    \item{\code{convergence}:}{Object of class \code{"matrix"}
      containing the convergence matrix}
    \item{\code{edgegraph}:}{Object of class \code{"matrix"} containing
      the edgegraph}
  }
}
\section{Extends}{
Class \code{"matrix"}, directly.
}
\section{Methods}{
  \describe{
    \item{show}{\code{signature(object = "ranking")}: displays the
      ranking score matrix}
  }
}

\author{Alexandros Karatzoglou \cr
\email{alexandros.karatzoglou@ci.tuwien.ac.at}
}

\seealso{
  \code{\link{ranking}}
}
\examples{
data(spirals)

## create data set to be ranked
ran<-spirals[rowSums(abs(spirals)<0.55)==2,]

## rank points according to "relevance" to point 54 (up left)
ranked<-ranking(ran,54,kernel="rbfdot",
                kpar=list(sigma=100),edgegraph=TRUE)

ranked
edgegraph(ranked)[1:10,1:10]
}
\keyword{classes}