as.matrix.LLAsim {LLAhclust}R Documentation

Useful functions for dealing with LLAsim objects

Description

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.

Usage

as.matrix.LLAsim(x, ...)

Arguments

x the LLAsim object to be converted.
... nothing so far.

Value

An object of class matrix.

References

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.

See Also

LLAsimvar,
LLAsimobj,
as.LLAsim.

Examples

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.

[Package LLAhclust version 0.2-2 Index]