Kplot {Kmedians} | R Documentation |
Kplot
Description
A plot function for K-medians and K-means
Usage
Kplot(a,propplot=0.95,graph=c('Two_Dim','Capushe','Profiles','SE','Criterion'),
bestresult=TRUE,Ksel=FALSE,bycluster=TRUE)
Arguments
a |
|
propplot |
A scalar between |
graph |
A string specifying the type of graph requested.
Default is |
bestresult |
A logical indicating if the graphs must be done for the result chosen by the selected criterion. Default is |
Ksel |
A logical or positive integer giving the chosen number of clusters for each the graphs should be drawn. |
bycluster |
A logical indicating if the data selected for |
Value
No return value.
See Also
Examples
## Not run:
n <- 500
K <- 3
pcont <- 0.2
ech <- gen_K(n=n,K=K,pcont=pcont)
X <-ech$X
res <- Kmedians(X,par=FALSE)
Kplot(res)
## End(Not run)
[Package Kmedians version 2.2.0 Index]