get.optim: Get the Result of the Optimization Operation

View source: R/get.optim.R

get.optimR Documentation

Get the Result of the Optimization Operation

Description

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

Usage

get.optim(opt, n = NULL)

Arguments

opt

the result of the optimization operation performed by do.optimRadviz

n

the optimized order of anchors to return; defaults to NULL, which returns the best identified combination

Value

a character vector of the anchor names, ordered as in the n^th^ step of the optimization

Author(s)

Yann Abraham

Examples

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


yannabraham/Radviz documentation built on April 3, 2022, 1:30 p.m.