longDataTo3d: ~ Function: longDataTo3d ~

Description Usage Arguments Details Value Author References See Also Examples

Description

Build a object LongData3d from an object LongData. The resulting object has a single variable-trajectory stored in a array.

Usage

1
longDataTo3d(xLongData)

Arguments

xLongData

[LongData]: structure containning a variable-trajectory.

Details

Build a object LongData3d from an object LongData. The resulting object has a single variable-trajectory stored in a array.

Value

An object of class LongData3d.

Author

Christophe Genolini
1. UMR U1027, INSERM, Universit<e9> Paul Sabatier / Toulouse III / France
2. CeRSME, EA 2931, UFR STAPS, Universit<e9> de Paris Ouest-Nanterre-La D<e9>fense / Nanterre / France

References

[1] C. Genolini and B. Falissard
"KmL: k-means for longitudinal data"
Computational Statistics, vol 25(2), pp 317-328, 2010

[2] C. Genolini and B. Falissard
"KmL: A package to cluster longitudinal data"
Computer Methods and Programs in Biomedicine, 104, pp e112-121, 2011

See Also

LongData

Examples

1
2
3
4
5
6
### Creation of single variable-trajectory
mat <- matrix(c(1,NA,3,2,3,6,1,8,10,1,NA,1,2,NA,3,2,3,2),6,3)
(ldSingle <- longData(mat))

### Extension to joint trajectories
(ldHyp <- longDataTo3d(ldSingle))

longitudinalData documentation built on May 2, 2019, 8:53 a.m.