choice
lets the user choose some Clustering
he wants to export.choice(object, typeGraph = "bmp",...)
[ClusterLongData]
: Object containing the trajectories and all the clusterizations found by kml
,
from whom the user want to export some Clustering
.[character]
for every selected clustering
, choice
export some graphs. typeGraph
set
the format that will be used. Possible formats are bmp
,
choice
is a function that lets the user see the Clustering
found by kml
.
At first, choice
opens a graphics window. On the left side are
qualities criterion of all the Clustering
contained in Object
.
One Clustering
is 'active', it is the one marked by a black dot.
On the right side, the trajectories of object
are drawn, according to the active Clustering
.
From there, choice
offers numerous options.
Clustering
.}
Clustering
(the selected
Clustering
are surrounded by a circle).}
Clustering
, then
quit the function choice
.}
Clustering
according the the actual quality criterion.}
### Creation of articficial data
cld1 <- gald(c(15,15,15))
### Clusterisation
kml(cld1,nbRedrawing=3)
### Selection of the clusterization we want
# (linux does not support getGraphicsEvent...
try(choice(cld1))
Run the code above in your browser using DataLab