parKml | R Documentation |
parKml
and parALGO
are constructor for the object ParKml
.
parKml(saveFreq,maxIt,imputationMethod,distanceName,power,distance,
centerMethod,startingCond,nbCriterion,scale)
parALGO(saveFreq=100,maxIt=200,imputationMethod="copyMean",
distanceName="euclidean",power=2,distance=function(){},
centerMethod=meanNA,startingCond="nearlyAll",nbCriterion=1000,scale=TRUE)
saveFreq |
|
maxIt |
|
imputationMethod |
|
distanceName |
|
power |
|
distance |
|
centerMethod |
|
startingCond |
|
nbCriterion |
|
scale |
|
parKml
is the constructor of object ParKml
.
An object ParKml
.
### Move to tempdir
wd <- getwd()
setwd(tempdir()); getwd()
### Generation of some data
cld1 <- generateArtificialLongData()
### Setting two different set of option :
(option1 <- parALGO())
(option2 <- parALGO(distanceName="maximum",centerMethod=function(x)median(x,na.rm=TRUE)))
### Running kml We suspect 3, 4 or 5 clusters, we want 3 redrawing.
kml(cld1,3:5,3,toPlot="both",parAlgo=option1)
kml(cld1,3:5,3,toPlot="both",parAlgo=option2)
### Go back to current dir
setwd(wd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.