make.S | R Documentation |
make.S will return [x,y] coordinates for n dimensional anchors equally spaced around the unit circle
make.S(x)
x |
a vector of dimensional anchors, or a list of dimensional anchors for Class Discrimination Layout, or the number of anchors to put on the circle |
If x is a vector or a list, values will be used to set the row names of the matrix.
A matrix with 2 columns (x and y coordinates of dimensional anchors) and 1 line
per dimensional anchor (so called springs). If x is a vector, the row names of
the matrix will be set to the syntactically correct version of values in the vector
(through a call to make.names
). Please note that some functions
expect to match column names of data to row names of the spring matrix.
Yann Abraham
data(iris) das <- c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width') make.S(length(das)) # without row names make.S(das) # with row names make.S(list(c('Sepal.Length','Sepal.Width'),c('Petal.Length','Petal.Width')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.