as.clusterizLongData {kml}R Documentation

~ Function: as.cld ~

Description

as.cld (or as.clusterizLongData) turns data into an object of class ClusterizLongData.

Usage

as.cld(data, ...)
as.clusterizLongData(data, ...)

Arguments

data data is either a matrix, a data.frame or an object of class ArtificialLongData. See each method for detail.
... See each method for detail.

Details

For matrix see as.cld.matrix.
For data.frame see as.cld.data.frame.
For ArtificialLongData, see as.cld.artificialLongData.

Value

An object of class ClusterizLongData.

Author(s)

Christophe Genolini
PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health
INSERM U669 / Maison de Solenn / Paris

Responsable : <genolini@u-paris10.fr>

English translation

Raphaël Ricaud
Laboratoire "Sport & Culture" / "Sports & Culture" Laboratory
University of Paris 10 / Nanterre

See Also

as.cld.matrix, as.cld.data.frame,as.cld.artificialLongData,kml-package

Examples

### as.cld for data.frame :
dn <- data.frame(i=11:13,size12=c(15,13,14),size14=c(16,15,17),size20=c(18,16,16))
as.cld(dn)

### as.cld for matrix
ma1 <- matrix(rnorm(50),ncol=5)
as.cld(ma1)

### as.cld for ArtificialLongData
ga1 <- generateArtificialLongData()
as.cld(ga1)


[Package kml version 0.9.0 Index]