Compute the distance matrix between joint trajectories.
Usage
matDist3d(data,distance=dist3d)
Arguments
data
[array(numeric)]: Contains
the longitudianl data. Each horizontal plan (first dimension) corresponds to the trajectories of an
individual. Vertical plans (second dimension) refer to the time at which measures
are made. Transve
distance
[numeric <- function(array)]: function used to
evaluate the distance between trajectories.
Value
A symetric matrix
Author(s)
Christophe Genolini
INSERM U669 / PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health
Modal'X / Universite Paris Ouest-Nanterre- La Defense
Contact author : genolini@u-paris10.fr
Details
Compute the symetric distance matrix between joint trajectories. The distance
between individual i and j is at [i,j] or [j,i]
References
Article "KmL: K-means for Longitudinal Data", in
Computational Statistics, Volume 25, Issue 2 (2010), Page 317.
Web site: http://christophe.genolini.free.fr/kml