fuzzyKmlSlow
is a new implementation of fuzzy k-means for longitudinal data (or trajectories).
fuzzyKmlSlow(traj, clusterAffectation, toPlot = "traj",
fuzzyfier = 1.25, parAlgo = parALGO())
The matrix of the individual membership.
[matrix(numeric)]
: Matrix holding the longitudinal data
[vector(numeric)]
: Initial starting condition
[character]
: if "traj",
then the trajectories are plot. If "none", there is no graphical
display (faster).
[numeric]
: value of the fuzzy k-means algorithm fuzzyfier.
[ParKml]
: default parameters for
the algorithm.
fuzzyKmlSlow
is a new implementation of fuzzy k-means for
longitudinal data (or trajectories). To date, it is writen in R (and
not in C, this explain the "slow")
kml
### Data generation
traj <- gald(25)["traj"]
partInit <- initializePartition(3,100,"kmeans--",traj)
### fuzzy Kml
partResult <- fuzzyKmlSlow(traj,partInit)
Run the code above in your browser using DataLab