Learn R Programming

kml (version 2.4.6.1)

fuzzyKmlSlow: ~ Algorithm fuzzy kml: Fuzzy k-means for Longitidinal data ~

Description

fuzzyKmlSlow is a new implementation of fuzzy k-means for longitudinal data (or trajectories).

Usage

fuzzyKmlSlow(traj, clusterAffectation, toPlot = "traj",
   fuzzyfier = 1.25, parAlgo = parALGO())

Value

The matrix of the individual membership.

Arguments

traj

[matrix(numeric)]: Matrix holding the longitudinal data

clusterAffectation

[vector(numeric)]: Initial starting condition

toPlot

[character]: if "traj", then the trajectories are plot. If "none", there is no graphical display (faster).

fuzzyfier

[numeric]: value of the fuzzy k-means algorithm fuzzyfier.

parAlgo

[ParKml]: default parameters for the algorithm.

Details

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")

See Also

kml

Examples

Run this code
### 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