choice {kml} | R Documentation |
choice
lets the user choose some Clusterization
he wants to export.
choice(Object, typeGraph = "bmp")
Object |
[ClusterizLongData] : Object containnig the trajectories and all the clusterizations found by kml
from whom the user want to export some Clusterization . |
typeGraph |
[character] for every selected clusterization , choice export some graphes. type set
the format that will be used. Possible formats are the one available
for savePlot |
choice
is a function that let the user see the Clusterization
found by kml
.
At first, choice
open a graphics window. On the left side are the calinski criterion of all the Clusterization
contain in Object.
One Clusterization
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 Clusterization
.
From there, choice
offert numerous option :
Clusterization
.Clusterization
(the selected
Clusterization
are surrounded by a circle).Clusterization
, then
quit the function choice
.plot,ClusterizLongData
for details). plotSubGroups,ClusterizLongData
for details). Note that the letter on the upper line (e,r,t,y,u,i) does concern the main graph, the letter on the lower line (d,f,g,h,j,k) does concern the subgroups. ; the letter on the first column (e,d,c) switch the graphical representation on/off, the second and third columns (r,f,t,g) change the color and the other column (y,h,u,j,i,k) deal with the symbols.
When 'return' is pressed, the selected Clusterization
are
export. Export is done in in specific folder named
objectName-CnumberOfCluster-OrderInTheSublist
. Four files are created
:
For each selected Clusterization
, a folder containing four files.
Christophe Genolini
PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health
INSERM U669 / Maison de Solenn / Paris
Contact author: <genolini@u-paris10.fr>
Raphaël Ricaud
Laboratoire "Sport & Culture" / "Sports & Culture" Laboratory
University of Paris 10 / Nanterre
Article submited
Web site: http://christophe.genolini.free.fr/kml
Overview: kml-package
Classes : ClusterizLongData
, Clusterization
, ArtificialLongData
Methods : kml
Plot : plot: overview
, plot(ClusterizLongData)
,
plot(Calinski)
,
plotSubGroups(ClusterizLongData)
, plotAll(ClusterizLongData)
### Creation of articficial data cld1 <- as.cld(gald()) ### Clusterisation kml(cld1,nbRedrawing=3,printCal=TRUE,printTraj=TRUE) ### Selection of the clusterization we want # (note that "try" is for compatibility with CRAN only, # you probably can use "choice(cld1)") try(choice(cld1))