View source: R/anchor.filter.R
anchor.filter | R Documentation |
Filtering out anchors with low contributions to the projection
anchor.filter(x, lim = 0)
x |
a radviz object as produced by |
lim |
the minimum length of an anchor |
When anchor.filter
is a number and type is not Radviz,
any springs whose length is lower than this number will be filtered out
of the visualization. This has no effect on the projection itself.
a radviz object as produced by do.radviz
Yann Abraham
data(iris) das <- c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width') S <- make.S(das) rv <- do.radviz(iris,S) plot(rv,anchors.only=FALSE) new.S <- do.optimFreeviz(x = iris[,das], classes = iris$Species) new.rv <- do.radviz(iris,new.S) plot(new.rv,anchors.only=FALSE) plot(anchor.filter(new.rv,0.2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.