as.matrix.LLAsim {LLAhclust} | R Documentation |
The function as.matrix.LLAsim
converts a LLAsim
object into a square
symmetrical matrix. The usual R functions format
, print
and
names
have also been extended to deal with LLAsim
objects.
as.matrix.LLAsim(x, ...)
x |
the LLAsim object to be converted. |
... |
nothing so far. |
An object of class matrix
.
I.C. Lerman (1981), Classification et analyse ordinale de donnés, Dunod, Paris.
I.C. Lerman (1991), Foundations of the likelihood linkage analysis classification method, Applied Stochastic Models and Data Analysis, 7, pages 63–76.
I.C. Lerman (1993), Likelihood linkage analysis classification method: An example treated by hand, Biochimie, 75, pages 379–397.
I.C. Lerman, Ph. Peter and H. Leredde (1993), Principes et calculs de la méthode implantée dans le programme CHAVL (Classification Hiérarchique par Analyse de la Vraisemblance des Liens), Modulad, 12, pages 33-101.
LLAsimvar
,
LLAsimobj
,
as.LLAsim
.
data(USArrests) ## Compute similarities between objects based on ## a local Euclidean distance (see references above): s <- LLAsimobj(USArrests) ## Convert to a matrix object: as.matrix(s) ## Other useful functions: print(s, upper=TRUE) names(s) ## For the format function, see the R help.