get.optim | R Documentation |
Once the order of anchors has been optimized using do.optimRadviz
this function can be used to recover the optimized anchors or any intermediate step
get.optim(opt, n = NULL)
opt |
the result of the optimization operation performed by |
n |
the optimized order of anchors to return; defaults to NULL, which returns the best identified combination |
a character vector of the anchor names, ordered as in the n^th^ step of the optimization
Yann Abraham
data(iris)
das <- c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width')
S <- make.S(das)
sim.mat <- cosine(iris[,das])
in.da(S,sim.mat) # the starting value
new <- do.optimRadviz(S,sim.mat,iter=10,n=100)
get.optim(new) # the optimal order
get.optim(new,2) # the second step of the optimization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.