<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Define Dimensional Anchors around the Unit Circle</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for make.S"><tr><td>make.S</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Define Dimensional Anchors around the Unit Circle</h2>

<h3>Description</h3>

<p>make.S will return [x,y] coordinates for n dimensional anchors equally spaced around the unit circle
</p>


<h3>Usage</h3>

<pre>
make.S(x)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
<p>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</p>
</td></tr>
</table>


<h3>Details</h3>

<p>If x is a vector or a list, values will be used to set the row names of the matrix.
</p>


<h3>Value</h3>

<p>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 <code>make.names</code>). Please note that some functions
expect to match column names of data to row names of the spring matrix.
</p>


<h3>Author(s)</h3>

<p>Yann Abraham
</p>


<h3>Examples</h3>

<pre>
data(iris)
das &lt;- 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')))

</pre>


</body></html>
